Ask your own question, for FREE!
Computer Science 22 Online
OpenStudy (anonymous):

I will attach file. I need help on how to start the program I am confused as to what strings to use.

OpenStudy (anonymous):

OpenStudy (amistre64):

hmm, just a thought change = 100 - price while change>0 { if change >= 25 change=change - 25 q=q+1 if change < 25 and change >= 10 change=change - 10 d=d+1 if change < 10 and change >= 5 change=change - 5 n=n+1 } your change is therefore, q quarters, d dimes, and n nickels

OpenStudy (rsmith6559):

Actually, this is a recursive problem, but what @amistre64 wrote is the basic logic, it just needs to be able to go through it one or more times until it reaches 0.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!