Itse101 programming write a c program which will accept


Assignment

ZAD supermarket has 4 cash counters; currently there is no electronic system to calculate the change to be returned. The cashiers find it very difficult to return the precise change when the payment is done. This reduces the productivity and efficiency of sales, and also customers have to wait for longer duration for the payment.

Your task is to write a C++ program which will accept the valid denominations and suggest the exact change to be returned to the customer. A sample screenshot is given to you to understand the requirement; however your program should work of any given valid inputs.

Example:
Bill amount is RO 76.455 (Input - Refer the screenshot)
Customer paid R050.000 x 1, R020x2 (Multiple Inputs - Refer the screenshot)
Amount Paid By Customer: R090.000 (Output - Refer the screenshot)
Return Amount: RO -13.545 (Output - Refer the screenshot)
Return Denomination: (Multiple Outputs - Refer the screenshot)
R010.000 (1)
R01.000 (3)
BZ 500 (1)
BZ25 (1) BZ10 (2) Valid Denominations: R050, RO 20, R010, R05, R01, BZ500, BZ100, BZ50, BZ25, BZ10, BZ5
Refer to the screenshot for better understanding.

Marking Scheme:
- Input and output Design as per the screenshot
- Input data as per the screenshot
- Calculation of amount paid by customer
- Calculation of Amount to be returned
- Logic and Correctness of output

Attachment:- input.rar

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: Itse101 programming write a c program which will accept
Reference No:- TGS02696645

Now Priced at $25 (50% Discount)

Recommended (93%)

Rated (4.5/5)