Write a complete C++ program that asks for the price of an object and the amount of money given and then computes the amount of money to give back.
Make your program's input and output look exactly like this:
Enter price: 8.30
Enter amount received: 20.00
Your change is: 11.70
Part 1:
Add a while loop to your change program that repeats everything in the main function.
Exit the loop if the user types in a price of 0.
Part 2:
After the user has exited the loop, your program should print the following:
The number of items sold. Create a new variable called count and increase it by one each time something is sold.
The total price of the items sold. Create a new variable called total...
The average price of each item sold. Compute the average after the loop has exited.