Question: write a java program according it, thanks. Mr. Ahmad runs a cafeteria business. Every morning, before opening his shop, he asked his cashier to exchange

 write a java program according it, thanks. Mr. Ahmad runs a

write a java program according it, thanks.

Mr. Ahmad runs a cafeteria business. Every morning, before opening his shop, he asked his cashier to exchange a certain amount of Malaysia Ringgit to the bank to get a minimum number of RM50, RM20, RM10, RM5 and RM1 notes. Questions: a. Create the pseudo code that determines the minimum number of RM50, RM20, RM10, RM5 and RM1 notes denominations in a given Malaysia Ringgit amount. b. Write a program based on the proposed pseudo code. c. Display the output as Figure below (sample). Example Output: Enter Malaysia Ringgit amount: 179 Number of RM50 bills: 3 Number of RM20 bills: 1 Number of RM10 bills: 0 Number of RM5 bills: 1 Number of RM1 bills: 4

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!