Skip to content
← Back to Community
2.9. Numbers: Total cost
Profile icon
MohamadAlshabab

A cupcake costs A dollars and B cents. Determine, how many dollars and cents should one pay for N cupcakes. A program gets three numbers: A, B, N. It should print two numbers: total cost in dollars and cents.

Voters
Profile icon
MOHAMEDA26
Profile icon
DAVID-STIVENSTI
Profile icon
JPTriGod252
Profile icon
MohamadAlshabab