Question: coding in C++ Exercise 7: Write a program that keeps track of stock prices for five stocks for one week. Choose any fve stocks on

coding in C++ Exercise 7: Write a program that keeps track ofcoding in C++

Exercise 7: Write a program that keeps track of stock prices for five stocks for one week. Choose any fve stocks on the New York Stock Exchange. Use actual stock prices for one week as your data. Include either clippings from the newspaper or printouts of the data from the Web with your program. Your program should be interactive. Prompt the user to enter the names of the five stocks. Then prompt the user to enter a week's worth of prices for each stock. The program should print a table, showing the input in tabular form; a table showing the average price of each stock for the week; and the average value of all five stocks for each day. You may assume that you have 100 shares of each stock

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!