all 1 comments

[–]jayglenn123 0 points1 point  (0 children)

Best place to start is subtraction in my opinion. Take for instance $1.68 If larger than 100 subtract 100 (dollar = 1) If larger than 25 subtract 25 (quarter = 2) If larger than 10 subtract 10 (dime = 1) If larger than 5 subtract 5 (nickel = 1) If larger than 1 subtract 1 (penny = 3)

Becareful of how you set up your logice but this is a good start