This preview shows page 1. Sign up to view the full content.
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
This note was uploaded on 03/15/2010 for the course ITP 109x taught by Professor Trinagregory during the Spring '08 term at USC.
- Spring '08