1
answer
0
watching
138
views

You are assigned to write a program in C programming language and you are designing a
system for the customers in the bank to make their job easier dealing with their payments, bills, and coins.

Customers who live in Canada might have 100-dollar, 50-dollar, 20-dollar, 10-dollar, and 5-dollar bills and they have also 1-dollar & 2-dollar coins.

Your system is going to ask the user to insert a number as the total amount of their payment and the output is going to be how many bills with what value and how many coins with what value they need to pay. It is preferred that the number of bills and coins be the minimum and this needs your clients to use larger bills and coins.

It means if you are going to pay 120 CAD, it is preferred to pay one 100-dollar
bill and one 20-dollar bill, instead of paying 6 20-dollar bills.

For unlimited access to Homework Help, a Homework+ subscription is required.

Avatar image
Liked by brm and 2 others

Unlock all answers

Get 1 free homework help answer.
Already have an account? Log in
Start filling in the gaps now
Log in