How Much Does It Cost To Make 1 Penny And 1 Nickel Am New And Not Sure How This Goes....please Any Advicesss.....?

Am new and not sure how this goes....please any advicesss.....? - how much does it cost to make 1 penny and 1 nickel

everything seems rite, but I got my plate, DMS, NCP, SNPs with decimals in 2.0,6.0, and I'm not sure how to change

java.util.Scanner import;
Public class Subtract
(
public static void main (String [] args)
(
Costs twice, changing area, penny, nickel, Penni ...
Keyboard = new Scanner (System.in);
System.out.println ( "Purchase amount less than 1.00);
keyboard.nextDouble cost = ();

Change Cost = 100;
quarters = (int) change/25;
Pennies = (int) change/10;
Nickels = (int) rate / 5;
Pennies = (int) Change / 1;

System.out.println ( "fee" + cost);
System.out.println ( "Change:" +) change;
System.out.println ( "The number of quarters is as follows: & quot, +) district;
System.out.println ( "The number of pennies is:" +) pennies;
System.out.println ( "The number of nickel is:" + nickel);
System.out.println ( "The number of elements is:" +) cents;
)
)

1 comments:

Nisovin said...

You said that all the variables than doubled. If you do not want to double that for the change ints.

Also, if you try to determine the number of parts required to make changes, you must subtract change the variable on the fly. "

Post a Comment