diff options
| author | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2023-12-04 04:04:22 +0000 |
|---|---|---|
| committer | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2023-12-04 04:04:22 +0000 |
| commit | 5ef844389e13c0dfd4b5c3865b6acfd480752428 (patch) | |
| tree | 8c9744547809969f6c8e553b09b11917721159a8 /wk1 | |
| parent | 4ecca707ed8d938397eb3d84a7f3408e240809c7 (diff) | |
Sun, Dec 3, 2023, 8:04 PM -08:00
Diffstat (limited to 'wk1')
| -rw-r--r-- | wk1/pset1/cash/cash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wk1/pset1/cash/cash.c b/wk1/pset1/cash/cash.c index eda145e..ecb1fe9 100644 --- a/wk1/pset1/cash/cash.c +++ b/wk1/pset1/cash/cash.c @@ -42,7 +42,7 @@ int get_cents(void) { i = get_int("How many cents? "); } - while(i <= 0); + while(i < 0); return i; } |
