Question: code this in java as simple as they can? Lab3C: Coins. We are going to design a program that determines the values of coins in

code this in java as simple as they can?
code this in java as simple as they can? Lab3C: Coins. We

Lab3C: Coins. We are going to design a program that determines the values of coins in a jar. The program will prompt the user to enter the number coins (ie. quarters, dimes, nickels, and pennies). It will then print out the number of coins entered for each coin type on separate lines and calculates the total amount of money in the jar. An example run is shown below. The user input is in bold. Sample run 1: Enter the number of quarters: 2 Enter the number of dimes: 2 Enter the number of nickels: 2 Enter the number of pennies: 2 Sample run 3: Enter the number of quarters: 2 Enter the number of dimes: 3 Enter the number of nickels: 4 Enter the number of pennies: 5 You entered 2 quarters. You entered 3 dimes. You entered 4 nickels. You entered 5 pennies. You entered 2 quarters. You entered 2 dimes. You entered 2 nickels. You entered 2 pennies. Your total is 0 dollars and 82 cents. Your total is 1 dollars and 5 cents. Instructions: 1 Programs must be working correctly. Programs must be saved in files with the correct file name. If working in Java or C#, class names must be correct. Programs must be completed and checked before working the assignment. Programs must be checked by the end of the designated lab session. Programs (source code files) must be uploaded to Gradescope by due date

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!