Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Manga Guide To Databases

Authors: Mana Takahashi, Shoko Azuma, Co Ltd Trend

1st Edition

1593271905, 978-1593271909

More Books

Students also viewed these Databases questions

Question

How does Java store strings internally?

Answered: 1 week ago

Question

Describe five organizational development techniques.

Answered: 1 week ago

Question

Explain the two dimensions of an organizations culture.

Answered: 1 week ago

Question

State why people resist change and how to overcome resistance.

Answered: 1 week ago