100 cents = 1 dollar Hence $45.50 = 45.50 * 100 cents We subtract 50 cents that is spent 4550 - 50 = 4500 cents Answer: $45