Answered step by step
Verified Expert Solution
Question
1 Approved Answer
on jgraps please, using java Write a program that utilizes the Scanner class and asks the user to enter 5 integer values representing the number
on jgraps please, using java
Write a program that utilizes the Scanner class and asks the user to enter 5 integer values representing the number of pennies, number of nickels, number of dimes, number of quarters, and the number of half dollars the user has. Calculate the total amount coins to dollar value (as a double variable). Calculate the total number of coins (as an integer). Dispaly the total number of coins and the total dollar amount. Math formulas needed: The total number of coins is number of pennies + number of nickels + number of dimes + number of quarters + number of half dollars The total dollar amount is the number of pennies * 0.01) + (number of nickels * 0.05) + (number of dimes * 0.10) + (number of quarters * 0,25) + (number half dollars * 0.50) 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