@@ -0,0 +1,957 @@
+import javax.swing.JOptionPane;%0A%0Apublic class Change %7B%0A%0A%09public static void main(String%5B%5D args)%7B%0A%0A%09%09String amountString = JOptionPane.showInputDialog(%0A%09%09%22Enter price of item (From 25 cents to a dollar,%5Cn%22 +%0A%09%09%22in 5-cent increments):%22); %0A%09%09%0A%09%09int amount, Originalamount, Change, quarters, dimes, nickels;%0A%09%09%0A%09%09amount = Integer.parseInt(amountString);%0A%09%09%0A%09%09Originalamount = amount;%0A%09%09%0A%09%09Change = 100 - amount;%0A%09%09%0A%09%09quarters =  Change / 25;%0A%09%09Change = Change %25 25;%0A%09%09%0A%09%09dimes = Change / 10;%0A%09%09Change = Change %25 10;%0A%09%09%0A%09%09nickels = Change / 5;%0A%09%09Change = Change %25 5;%0A%09%09%0A%09%09%09if(Originalamount %3E 100)%0A%09%09%09%09JOptionPane.showMessageDialog(null,%0A%09%09%09%09%22This machine only accepts dollar bills.%22);%0A%09%09%09else %0A%09%09%09%09JOptionPane.showMessageDialog(null, %0A%09%09%09%09%22You bought an item for %22 + Originalamount + %22 cents%5Cn%22 +%0A%09%09%09%09%22and gave me a dollar, so your change is:%5Cn%22 +%0A%09%09%09%09quarters + %22 quarters%5Cn%22 +%0A%09%09%09%09dimes + %22 dimes, and%5Cn%22 +%0A%09%09%09%09nickels + %22 nickels.%22); %0A%09%09%0ASystem.exit(0);%0A%09%7D%7D%0A

Create Change.java