Question: this is for my computter programing class we use java script in eclipse not sire how to do the this is what i have it

 this is for my computter programing class we use java script
this is for my computter programing class we use java script in eclipse not sire how to do the
in eclipse not sire how to do the this is what i
this is what i have it doesnt do any of the claculations for the problme
have it doesnt do any of the claculations for the problme ChangeMaker

ChangeMaker (10 pts). Write an application called ChangeMaker, that prompts the user for an integer value between and 99, representing the change (in cents) to be dispensed from a vending machine. Use the Scanner class to read in value. Then display the equivalent amount of change as the number of quarters, dimes, nickels, and pennies. In other words, ChangeMaker should dispense the smallest number of coins. Developing pseudocode for this assignment will help you sort out the calculations. (see hint below) Please test your code with the following 4 cases and provide output of each case. Example Output: Welcome to ChangeMaker. I will find a combination of coins that equals that amount of change you should receive. Change in cents 88 51 Please enter an amount from 1 to 99: 92 92 cents in coins can be given as: 3 quarters 1 dimes 1 nickels and 2 pennies Case 1 Case 2 Case 3 Case 4 17 4 Hint: Integer Division and the Modulus Operator Starting out with a value in cents (from the user), the task is to convert that number into the smallest number of coins - quarters, dimes, nickels and pennies. If we use the example above of 92 cents, the first step is to determine how many quarters can be given. Use integer division. The number of quarters = total Cents / 25. This will return a whole number representing quarters. 3 quarters to be exact Now, how do you determine how many cents remaining? Remember, the remainder can be found by using the modulus operator (%). This will be the remaining cents. So in the example, the remaining cents = total Cents % 25 which is 17 cents Now, go through the same mechanics for dimes. Divide the remaining 17 cents to get the number of dimes. Again, use modulus for the remainder of cents Then divide the remaining cents to get the number of nickels. Use modulus for the remainder of cents. This remainder is the number of pennies It can be very helpful to try these calculations by hand to verify M Gmail JPG to PDF-Conve Microsoft Office Ho.. d Microsoft Office Ho... Chandler-Gilbert C... Log 171 100% C110AA and CIS163AA + ChangeMaker (10 pts). Write an application called Change Maker, that prompts the user for an integer value between 1 and 99, representing the change (in cents) to be dispensed from a vending machine. Use the Scanner class to read in the value. Then display the equivalent amount of change as the number of quarters, dimes, nickels, and pennies. In other words, ChangeMaker should dispense the smallest number of coins. Developing pseudocode for this assignment will help you sort out the calculations (see hint below) Please test your code with the following 4 cases and provide output of each case. Example Output: Welcome to ChangeMaker. I will find a combination of coins that equals that amount of change you should receive Change in cents 88 51 17 Case 1 Case 2 Case 3 Case 4 Please enter an amount from 1 to 99: 92 92 cents in coins can be given as: 3 quarters 1 dimes 1 nickels and 2 pennies 4 Hint: Integer Division and the Modulus Operator Starting out with a value in cents (from the user), the task is to convert that number into the smallest number of coins - quarters, dimes, nickels and pennies. If we use the example above of 92 cents, the first step is to determine how many quarters can be given. Use integer division. The number of quarters = total Cents / 25. This will return a whole number representing quarters. 3 quarters to be exact Now, how do you determine how many cents remaining? Remember, the remainder can be found by using the modulus operator (%). This will be the remaining cents. So in the example, the remaining cents total Cents % 25 which is 17 cents Now, go through the same mechanics for dimes. Divide the remaining 17 cents to get the number of dimes. Again, use modulus for the remainder of cents The divide the remaining cerits to get the number of nickels. Use modules for the remainder of cents. This remainder is the number of pennies It can be very helpful to try these calculations by hand to verify Outline ans . Cha Library Java SE-151 package geMaker.java alculator Library Ilava SE-151 it package m.java "Problems.java Change Maker.java bramjava 1e // Program Name: Problems.java 2 //Author: Jared Hahn 3 /class: CSC1104 4 /Date: 01/21/2021 5 //Description: 62/Pseudocode/Plan 7 import java.util.Scanner; & public dass Changelsaker { 9 100 public static void main(String[] args) { 212 // TODO Auto-generated method stub Scanner scan. new Scanner(System.in); 15 16 int cents=0; final int 0-25, D-10, N-5, P-1; 16 19 2@ System.out.println("Welcome to Changeliaker."); 21 System.out.println("I will find a combination of coins"); 22 System.out.println("that equals that amount of change you 23 System.out.println(""); 24 System.out.print("Please enter an amount from 1 to 99: "); 25 cents - scan.nextInt(); 26 System.out.print(cents + cents in cons can be given as: 27 int change - 118; 28 int q =change/25; 29 change - change 25 int d change! 10; 31 change - change; 2 int change /5; change - changes; int D = change; 17 37 38 39 > *2 Problem widoc Declaration Console Coverage terminated Change Maker Dave Application CA Program Filevad -15.0.11 binja. Can 31, 2021, 12:42:24 PM - 12 Welcome to Changemaker. I will find a combination of coins that equals that amount of change you should recive. Please enter an mount from I to 99 92 cents in coins can be clens

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!