Design a change-counting game that gets the user to enter the number of coins re
ID: 3648423 • Letter: D
Question
Design a change-counting game that gets the user to enter the number of coins required to make exactly one dollar. The program should ask the user to enter the number of pennies, nickels, dimes, and quarters. If the total value of the coins entered is equal to one dollar, the program should congratulate the user for winning the game. Otherwise, the program should display a message indicating whether the amount entered was more or less than one dollar. Use at least three modules in developing the logic?one can be the main().This is what i have done so far and the picture on the left is the part i need help with.
Explanation / Answer
please rate - thanks
I did the whole program--hope you don't mind.
I think you need getTotal, which is the 3 module here
main
getCoins
getTotal
getDifference
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.