Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Exercise 2.1: (2.5 points) Write a program in python that asks the user for the value of a coin. Then determine what kind of coin
Exercise 2.1: (2.5 points) Write a program in python that asks the user for the value of a coin. Then determine what kind of coin they entered using this information. 1 = Penny 5 = Nickle 10 = Dime 25 = Quarter 50 = Half dollar Provide a message if you enter any other value that does not match. Sample 1: Enter a coin value: 1 Thats a penny! Sample 2: Enter a coin value: 80 Thats not a valid coin!
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