4 ms·
Think about types. You call .to_i on the balance, so it can only initially be an integer. But you have items costing 1.50.
by technion 11y ago
Think about types. You call .to_i on the balance, so it can only initially be an integer. But you have items costing 1.50.