Question: Please use Visual Studio functions and parameter passing only no Struck Write a c++ program which uses appropriate functions and parameter passing that will perform

Please use Visual Studio
functions and parameter passing only no Struck
Write a c++ program which uses appropriate functions and parameter passing that will perform the folowing tasks:
 Please use Visual Studio functions and parameter passing only no Struck

Exam 1 Program: You need a program to maintain information about your stocks. the following stocks: Assume that you have Stock Name Number of Buying Price Current PriceYearly Fees Shares GREAT ONE 275 BORING LAKERS IVC SADDLEBACK 80 Per Share $22.33 $15.75 $35.55 $22.36 $12.76 Per Share $42.33 $15.75 $19.75 $25.44 $10.86 $4.00 $0.00 $11.25 $8.00 $10.50 150 200 175 Write a C++ program which uses appropriate functions and parameter passing that will perform the following tasks: Task 1: Allow the user to enter in the data for each stock. (The user will not enter the $'s.) Task 2: Calculate the Initial Cost, Current Cost, and Proft for each stock. The formulas to use are Initial Cost- Number of Shares Buying Price Per Share Current Cost Number of Shares Current Price Per Share Profit = Current Cost-Initial Cost-Yearly Fees Task 3: Print out the Stock Name, Initial Cost, Current Cost, and Profit for each stock Task 4: Calculate and print the total initial cost, total current cost, and total profit for all 5 stocks Task 5: Print out the number of stocks that had a positive profit, the number of stocks that had a negative profit, and the number of stocks that broke even, that is had a profit of $0.00

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!