Question: C++ b. Write a C++ program for a Sales Man in a bookshop to help him in finding the bill. The program should ask the

C++
C++ b. Write a C++ program for a Sales Man in a

b. Write a C++ program for a Sales Man in a bookshop to help him in finding the bill. The program should ask the user to input the number of books purchased (n) and the price of each book. The program must calculate and print the minimum price, maximum price and the average of the prices. (The inputs for this program are in bold) Output format: Please enter the number of items 4 Please enter the price of each item 50 72 15 31 The maximum price is: 72 The minimum price is: 15 The average is: 42

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!