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.
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.
Chapter5: Looping
Section: Chapter Questions
Problem 12E
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
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 4 steps with 4 images
Knowledge Booster
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.Recommended textbooks for you
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,