summaryrefslogtreecommitdiff
path: root/wk1/pset1
diff options
context:
space:
mode:
authorFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2023-12-04 04:04:22 +0000
committerFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2023-12-04 04:04:22 +0000
commit5ef844389e13c0dfd4b5c3865b6acfd480752428 (patch)
tree8c9744547809969f6c8e553b09b11917721159a8 /wk1/pset1
parent4ecca707ed8d938397eb3d84a7f3408e240809c7 (diff)
Sun, Dec 3, 2023, 8:04 PM -08:00
Diffstat (limited to 'wk1/pset1')
-rw-r--r--wk1/pset1/cash/cash.c2
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;
}