hello, to any1 familar with python programing, I'm to do this assigment for comp sci 30, i've been trying for a week still can't get it to run, the assignmet is:
1. Write a program that calculates the number of quarters, dimes, nickels and pennies necessary to generate the number of cents entered as input.
For example, if 93 cents is entered as the input, then the program should indicate that 3 quarters, 1 dime, 1 nickel and 3 pennies are necessary to add up to 93 cents.
i've been given the resource http://www.ibiblio.org/obp/thinkCSpy/
as well as http://rgruet.free.fr/PQR24/PQR2.4.html
the first link is better, can any1 help me, i've managed to get it to work with that def thing but it doesn't save the change value, can any1 help me do something similar? the teacher hinted me, that it was something to do with one while statement, and o buch of other different kinds statements working under it
2006-11-08
16:40:50
·
2 answers
·
asked by
icemaster1500
5