Question: C++ please Q2) Write a program that reads the number of item DATA. I hold then and the ser to enter the DATA mees of

 C++ please Q2) Write a program that reads the number of

C++ please

Q2) Write a program that reads the number of item DATA. I hold then and the ser to enter the DATA mees of those items and validate each price is in 5 - 106). Finally, i prints the average prices (3 Points Wite your code for bare Desired output format user input is underlined Enter the no. of 5 Enteritem price: 10 Enterram price: 50 Enteritemprice4 Error: price should be 5 - 100. Re-enter itemprice: 6 Enter car's price-100 Error.price should be 5 -100. Re-enter itemprice: 70 Enter car's prior 60 The versiems prices 40

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!