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 RM...


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 RM (1, 5, 10, 50, 100) notes and sen (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.


Sample input / output is as such (this is only for the RM, you include the sen part):<br>< ><br>I Basic Maths for YEAR 3<br>I Basic Maths for YEAR 3<br>Enter amount (RM)<br>Submit<br>682<br>Submit<br>Basic Maths for YEAR 3<br>Enter amount (RM)<br>Submit<br>You entered : RM 682.00<br>You will get :<br>RM 100 : 6<br>RM 50 : 1<br>RM 20 : 1<br>RM 10 :1<br>RM 1:2<br>

Extracted text: Sample input / output is as such (this is only for the RM, you include the sen part): <> I Basic Maths for YEAR 3 I Basic Maths for YEAR 3 Enter amount (RM) Submit 682 Submit Basic Maths for YEAR 3 Enter amount (RM) Submit You entered : RM 682.00 You will get : RM 100 : 6 RM 50 : 1 RM 20 : 1 RM 10 :1 RM 1:2

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here