CYB-130 8.26 LAB: Exact Change - Functions
CYB-130 8.26 LAB: Exact Change - Functions
user_total %= 100
quarters = user_total // 25
user_total %= 25
dimes = user_total // 10
user_total %= 10
nickels = user_total // 5
user_total %= 5
pennies = user_total
def main():
total = int(input())
if total <= 0:
print('no change')
else:
if dollars > 1:
elif dollars == 1:
elif quarters == 1:
if dimes > 1:
elif dimes == 1:
if nickels > 1:
elif nickels == 1:
if pennies > 1:
elif pennies == 1:
if __name__ == '__main__':
main()