Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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: 4Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started