Share your repls and programming experiences
This small piece of code and convert cents into quarters dimes nickels and pennies.
das kool how you do it
@LukeWright So, the value/ the number of cents is divided first by quarters/25 cents until the new value is under 25, then it moves on to dimes/10 cents all the way down to pennies.
you used %?I never thought about doing it that way@mruijied
das kool how you do it
@LukeWright So, the value/ the number of cents is divided first by quarters/25 cents until the new value is under 25, then it moves on to dimes/10 cents all the way down to pennies.
you used %?
I never thought about doing it that way
@mruijied