Question: Test 1 (100 points) CSc 170-01/02 Spring 2018 5. Writ e a program that will do the following: Write a C++ program to calculate the
Test 1 (100 points) CSc 170-01/02 Spring 2018 5. Writ e a program that will do the following: Write a C++ program to calculate the change given to customer after a purchase. The program must prompt the user to input the cost of an item, and the amount of money tendered for payment. The program must then compute the amount of change and then print out the cost of the item, the amount of money constant. Call this value "TAXRATE". The program should - Prompt the user for input values - Stores the values in variables called cost, cash given, and change he calculation of change in a variable called change values of cost, cash given, and change. Part A: Map out your plan (25 points) Analyxe the problem as above, then write out your equation(s) for the calculation Draw/sketch expected output/printout from the program running Complete the basic IPO chart below for the program: . Output Processing Input
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
