Question: Can somone help me why my code is not running what is the issue and how can i solve it . i was told that
Can somone help me why my code is not running what is the issue and how can i solve it i was told that its prompting you to enter a value but im unsure what value?
the question was the following
Create the Change Application which directs a cashier how to give change. The
application has two inputs: the amount due and the amount received from the
customer. Display the dollars, quarters, dimes, nickels, and pennies that the
customer should receive in return. In order to avoid roundoff errors, the
application user should supply both amounts in pennies, for example instead
of
amountdue intinputEnter the amount due in pennies:
amountreceived intinputEnter the amount received in pennies:
changedue amountreceived amountdue
dollars changedue
changedue changedue
quarters changedue
changedue changedue
dimes changedue
changedue changedue
nickelschangedue
changeduechangedue
pennies changedue
printThe change is:
printDollars: dollars
printquarters: quarters
printDimes: dimes
printNickels:nickels
printPennies: pennies
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
