Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!