This document contains pseudocode for a program that takes in an amount of change in cents and calculates the number of quarters, dimes, nickels, and pennies needed to represent that amount. It subtracts the highest denomination coins first, incrementing the respective counters, until the remaining amount is less than that coin's value, at which point it moves on to the next lowest denomination coin.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
989 views1 page
Flowchart - Coin Count
This document contains pseudocode for a program that takes in an amount of change in cents and calculates the number of quarters, dimes, nickels, and pennies needed to represent that amount. It subtracts the highest denomination coins first, incrementing the respective counters, until the remaining amount is less than that coin's value, at which point it moves on to the next lowest denomination coin.