diff options
Diffstat (limited to 'wk1/pset1/cash')
-rw-r--r-- | wk1/pset1/cash/cash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wk1/pset1/cash/cash.c b/wk1/pset1/cash/cash.c index d819d19..8fa5cfc 100644 --- a/wk1/pset1/cash/cash.c +++ b/wk1/pset1/cash/cash.c @@ -39,10 +39,10 @@ int get_cents(void) { do { - int i = get_int(""); + int i = get_int("How many cents? "); } while(i <= 0); - return cents; + return i; } int calculate_quarters(int cents) |