Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Using C++ language, can someone help me create an IPO Chart for the following pr

ID: 3573267 • Letter: U

Question

Using C++ language, can someone help me create an IPO Chart for the following problem? NOT A PROGRAM (Unless it also comes with the IPO Chart)

You are at my store and I am a stickler for making sure the cash drawer is exactly correct each night.

I need a program that takes in two inputs:
1) The total amount of any sale (tax and any discounts already included)
2) The amount of money the customer gave you

The program will then calculate and display the exact amount of change to be given back to the customer.
The display will tell you exactly how many of each of the following to give to the customer:
Dollars: 20, 10, 5 and 1
Change: quarters, dimes, nickels and pennies
In other words, for the money denominations listed above, your program must calculateand display the number of each denomination (if needed).

Example:

Amount of sale: $23.12
Amount tendered: $50.00
The change is . . . $26.88
1 twenty dollar bill
1 five dollar bill
1 one dollar bill
3 quarters
1 dime
3 pennies

Explanation / Answer

IPO stands for Input Process Output

Input

Process

Output

Including taxes and discounts.

Calculate the amount to be given back to customer

Amount of sale: $amt
Amount tendered: $totalamount
The change is . . . $26.88
x twenty dollar bill
y five dollar bill
z one dollar bill
p quarters
q dime
r                                    pennies

It is simple to generate a IPO chart, as you can see above there are three columns in the chart, first is the Input which will tell you the input fields, second is the process column which will perform the required calculations and the last one is the output column which will display the required output.

Input

Process

Output

  1. Total amount of sale

Including taxes and discounts.

  1. Money from customer

Calculate the amount to be given back to customer

Amount of sale: $amt
Amount tendered: $totalamount
The change is . . . $26.88
x twenty dollar bill
y five dollar bill
z one dollar bill
p quarters
q dime
r                                    pennies

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote