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
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
Get step-by-step solutions from verified subject matter experts
