Question: 1 . Write a C + + program that does the following: a . Create a C + + file with the name problem 4
Write a C program that does the following:
a Create a C file with the name problemcpp
b Prompt the user to enter the price of hisher items.
c The user can enter as many items as heshe wants until the user enters the integer
d Print out the total of hisher checkout.
e If the sum is greater than $ print out That's expensive!
Sample run of the program:
Enter the price of an item enter to stop:
Enter the price of an item enter to stop:
Enter the price of an item enter to stop:
Your checkout total is $Thats expensive!
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
