Hey everyone,
I'm need help with a problem I'm working on. I am trying to write a code that will tell how many coins are in the amount of change from 0 to 99. My algorithm is:
Get total value of change
Set value of quarters to q=.25
Set value of dimes to d=.10
Set value of nickels to n=.05
Set value of pennies to p=.01
If anyone have any suggestions I would greatly appreciate it.