subject

The ABC brokerage company asks you to write a stock account program. Each user will start with an account balance of $1000. Your program should let the user choose the number of shares from a list of 10 stocks. Your program will read in the stock data from a file named stocks. dat. This file includes the stock symbol, company name, and current price for the 10 stocks. After the user has purchased his or her stocks by entering the number of shares and the stock symbol, your program should simulate a day on the stock market. During the course of the day, the price of each stock will rise or fall by zero to 99 percent. At the end of the market day, your program should recalculate the value of the user’s stock account and then provide the user with the option of buying more stock or selling stock that he or she already owns. After the user makes a decision, your program should simulate another day on the stock market. It should simulate a total of five days. After five days, your program

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 16:30
The most common battery cable terminal is a that provides a large surface contact area with the ability to tighten the terminal onto the battery post using a nut and bolt.
Answers: 2
question
Computers and Technology, 22.06.2019 20:00
Which type of file can be used to import data into a spreadsheet?
Answers: 1
question
Computers and Technology, 22.06.2019 23:30
Jaina and tomas are being considered as new tenants in an apartment. the landlord looks at their creditworthiness because he wants to be sure his new tenant pays the rent on time and in full. the table below summarizes the information that was on their applications. application information questions jaina tomas how many years have you had your job? 5 2 what is your monthly salary? $1,850 $2,500 how many credit cards do you have? 4 1 how much debt do you have? $13,000 $7,000 how many times were you late with payments on credit cards in the past year? 5 1 who will the landlord decide to be more creditworthy and why? tomas because the ratio of his debt to income is less. jaina because she has had her job longer, which makes her look more stable. jaina because she has more credit cards available to her. tomas because he makes more money per month.
Answers: 2
question
Computers and Technology, 23.06.2019 05:30
Sally is editing her science report about living things. she needs to copy a paragraph from her original report. order the steps sally needs to do to copy the text to her new document.
Answers: 1
You know the right answer?
The ABC brokerage company asks you to write a stock account program. Each user will start with an ac...
Questions
question
Mathematics, 12.08.2020 06:01
question
Mathematics, 12.08.2020 06:01
question
Mathematics, 12.08.2020 06:01
question
World Languages, 12.08.2020 06:01
question
Computers and Technology, 12.08.2020 06:01
question
Mathematics, 12.08.2020 06:01
question
Mathematics, 12.08.2020 06:01
Questions on the website: 13722363