A company has 3 types of products (A, B, and C). Demonstrate by writing a C++ program that allows user to input the profit brought by these products in 5 days. The program should then calculate the...

Answer in c++A company has 3 types of products (A, B, and C). Demonstrate by writing a C++ program that<br>allows user to input the profit brought by these products in 5 days. The program should then<br>calculate the total profit of 5 days and average profit of cach product. Additionally, try to come<br>up with a suggestion that which product should the company focus more in the future.<br>A sample run:<br>Profit of product B: 5 4 3 21<br>Profit of product C: 13 24 6<br>Total<br>Average<br>Product A<br>Product B<br>Product C<br>The company should focus on product C<br>15<br>3.<br>15<br>3<br>16<br>3.2<br>

Extracted text: A company has 3 types of products (A, B, and C). Demonstrate by writing a C++ program that allows user to input the profit brought by these products in 5 days. The program should then calculate the total profit of 5 days and average profit of cach product. Additionally, try to come up with a suggestion that which product should the company focus more in the future. A sample run: Profit of product B: 5 4 3 21 Profit of product C: 13 24 6 Total Average Product A Product B Product C The company should focus on product C 15 3. 15 3 16 3.2

Jun 04, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here