Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

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

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote