Question: Exercise#7: (3points) Make Change Program: Write a program that takes as input a given changes expressed in dirhams it should compute the number of 100,

Exercise#7: (3points) Make Change Program: Write a program that takes as input a given changes expressed in dirhams it should compute the number of 100, 50, 20, 10,5 bill and how many dirhams. Input: change in dirhams Output: equivalent change in 100 dirhams, 50 dirhams, 20 dirhams, 10 dirhams, 5 dirhams, and dirhams. Input Sample 157 288 Output Sample: The are 1 hundred's , I fifty/s , 0 twenty/s, 0 tens ,1 five/s , and 2 dirhams The are 2 hundred/s, 1 fifty/s,1 twenty/s, 1 tens,1 five/s, and 3 dirhams
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
