Question: C++ Write a program that does the following: Ask the user to enter the price of their items. The user can enter as many items
C++
Write a program that does the following: Ask the user to enter the price of their items. The user can enter as many items as they want until the user enters the integer 0. Print out the total of their checkout. If the sum is greater than $100, print out "That's expensive!" Sample run of program: Enter the price of an item:
> 27
Enter the price of an item:
> 80Enter the price of an item:
> 0
Your checkout total is $107.
That's expensive!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
