write a php script that let the user to enter any amount of money  and clasiffies it into its smaller monetary units. the output of the program will show a report listing the monetary equivalent in dollar (1, 5, 10, 50, 100) notes and cents (1, 5, 10, 20, 50) coins.  the program should report the maximum number of dollar notes, then the maximum number of 50 cents coin, 20 cents coin, 10 cents coin, 5 cents coin, and 1 cents coin.

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter5: Looping
Section: Chapter Questions
Problem 12E
icon
Related questions
Question

write a php script that let the user to enter any amount of money  and clasiffies it into its smaller monetary units. the output of the program will show a report listing the monetary equivalent in dollar (1, 5, 10, 50, 100) notes and cents (1, 5, 10, 20, 50) coins. 

the program should report the maximum number of dollar notes, then the maximum number of 50 cents coin, 20 cents coin, 10 cents coin, 5 cents coin, and 1 cents coin.

Expert Solution
steps

Step by step

Solved in 4 steps with 4 images

Blurred answer
Knowledge Booster
Files and Directory
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,