Question: C++ help. Write a program that will ask a user to input a number to represent the number of pounds of coffee they have ordered

C++ help.

Write a program that will ask a user to input a number to represent the number of pounds of coffee they have ordered for their coffee shop for each of the past six months. Use a for loop to accept the input from the user, then use a getAverage function containing a for or while loop to calculate the average before displaying it to the user. ?

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!