Unformatted text preview: – Use constants for 100 (DOLLAR), 25 (QUARTER), 10 (DIME), and 5 (NICKEL). • Create your program using Eclipse. Your project should be named Lab3 , and your Java class should be named VendingMachine . • Use the Scanner class to get input from the user, and use System.out to print to the console window. • Make sure to comment your code. Grading - 30 points total • 10 points: User input and output • 10 points: Calculating the change correctly • 10 points: Comments, style, and proper submission...
View Full Document
- Spring '08
- United States dollar, Scanner class, Mod Operators