mirror of https://github.com/me50/kukemuna.git
automated commit by check50 [check50=True]
This commit is contained in:
parent
f4b61c6360
commit
5167ca886b
4
cash.c
4
cash.c
|
|
@ -11,7 +11,7 @@ int main(void)
|
||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
cents = get_int("Cents owed: ");
|
cents = get_int("Change owed: ");
|
||||||
}
|
}
|
||||||
while (cents < 0);
|
while (cents < 0);
|
||||||
|
|
||||||
|
|
@ -26,7 +26,7 @@ int main(void)
|
||||||
pennies = cents % 5;
|
pennies = cents % 5;
|
||||||
|
|
||||||
cents = quarters + dimes + nickels + pennies;
|
cents = quarters + dimes + nickels + pennies;
|
||||||
printf("cents: %i\n", cents);
|
printf("%i\n", cents);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue