diff options
author | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2023-12-04 03:59:46 +0000 |
---|---|---|
committer | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2023-12-04 03:59:46 +0000 |
commit | 7163a5c998a611bd4d0397da6d605cdf7fdceaa7 (patch) | |
tree | 3889b3b22a124bd2993fd199cba5555fc2d43fd8 /wk1/pset1/cash/cash.c | |
parent | 80528d450fa630424276063d990093dabd9389c1 (diff) |
Sun, Dec 3, 2023, 7:59 PM -08:00
Diffstat (limited to 'wk1/pset1/cash/cash.c')
-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 fdad449..3f561b5 100644 --- a/wk1/pset1/cash/cash.c +++ b/wk1/pset1/cash/cash.c @@ -47,8 +47,8 @@ int get_cents(void) int calculate_quarters(int cents) { - - return 0; + cents = cents / 25; + return cents; } int calculate_dimes(int cents) |