Hello Computer Science: Flowcharts: Change

Prepare today for the demands of tomorrow.

hello-world.com
Privacy Policy

Site map

Hello-World

Help This finds change by reducing the amount of change as each coin size is calculated.
The % operator finds the remainder, or modulus.

Click next to step through the algorithm one step at a time.
Enter the change as the number of pennies, ie enter 345 for $3.45.

>


Copyright © Hello World Publications. All rights reserved worldwide.

hello-world.com
Privacy Policy

Site map

Hello-World