Question: Need help on this stock investment program. Here's my code so far and commented instructions. 1 #include 2 #include 3 #include 4 #include 5 using

Need help on this stock investment program. Here's my code so far and commented instructions.

Need help on this stock investment program. Here's my code so farand commented instructions. 1 #include 2 #include 3 #include 4 #include 5

1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 7 const int QUIT = 5; 8 9 int maino 10 { 11 int cash = 1000; // the amount of money you have to invest 12 int choice; 13 14 // variable initializations 15 // include numbers of stocks for four companies (ints) 16 // include starting stock prices for four companies (ints) 17 18 19 // Build a portfolio 20 cout > choice; 36 int price; char choice; cin >> choice; int price; choice = toupper(choice); switch (choice) { case 'A': price = 540; cout 0 && choice != QUIT); cout

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!