Question
Lab 3 Money Counting Objectives: Practice simple decision structure. Write a program to determine whether a mix of coins can make EXACTLY one dollar. Your
Lab 3 Money Counting Objectives: Practice simple decision structure. Write a program to determine whether a mix of coins can make EXACTLY one dollar. Your program should prompt users 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 users for winning the game. Otherwise, the program should display a message indicating whether the amount entered was more than or less than a dollar. User interface specifications: Input The program prompts for the inputs, making sure that the instructions are clear to users. In particular, you should direct users to enter four numbers, one for each coin type, in the order of pennies, nickels, dimes, and quarters.. Output Display a message to report the result Testing Develop at least 2 test cases, calculate the correct results by hand, and then confirm that your program gives the same results. For example, if your user enters 10 for pennies, 2 for nickels, 3 for dimes and 2 for quarters, you should congratulate her or him. You do not need to submit your test cases. Can you help me using python?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started