I am working on a project and I can't understand how you can use one input to calculate change.
Here is the question:
Correct Change. Write a program to assist a cashier with determining correct change. The program should have one input, the number of coins to return to the customer. The output should be the appropriate change in quarters, dimes, nickels and cents. Hint. Consider how integer division (\) and integer remainder (Mod) can be used as part of your solution.
I don't see how you can do it without two inputs like: amountTendered - amountOfSale?
And also we are using IF Conditions.
