This preview shows page 1. Sign up to view the full content.
Unformatted text preview: Another example is a color for an adjective.) Your program must then be able to print out the story with the users words injected into the story. You need to signify to the user what his/her words are in the story such as putting single quotes around the user's words (escape characters). You create your program using Eclipse. Your project should be named Lab2 , and your Java class should be named MadLibs . Use the Scanner class to get input from the user, and use System.out to print to the console window. Grading - 30 points total 10 points: Reading in each individual word 10 points: Incorporating the words into the story 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