Step | Action | Result |
---|---|---|
A | Enter amount in dollars and cents | 1.23 |
B | Multiply amount in Step A by 100 | 123 |
C |
Divide amount in Step B by 25 and ignore remainder
This is the number of quarters |
4 |
D | Multiply amount in Step C by 25 | 100 |
E | Subtract amount in Step D from Step B | 23 |
F |
Divide amount in Step E by 10 and ignore remainder
This is the number of dimes |
2 |
G | Multiply amount in Step F by 10 | 20 |
H | Subtract amount in Step G from Step E | 3 |
I |
Divide amount in Step H by 5 and ignore remainder
This is the number of nickels |
0 |
J | Multiply amount in Step I by 5 | 0 |
K |
Subtract amount in Step J from Step H
This is the number of pennies |
3 |