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 17:30
Ou listened to a song on your computer. did you use hardware or software?
Answers: 2
question
Computers and Technology, 24.06.2019 10:10
Scanning the road can be thought of as a
Answers: 2
question
Computers and Technology, 24.06.2019 14:30
When workers demonstrate patience, are able to manage there emotions, and get along with other employees, which skills are being displayed?
Answers: 1
question
Computers and Technology, 25.06.2019 08:30
Acollection of computers and other devices that are connected together to enable users to share hardware, software, and data, as well as to communicate electronically with each other is called
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, 18.01.2020 22:31
Questions on the website: 13722367