Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Melinda
- //10.26.15
- //Madlib Project
- import java.util.Scanner;
- public class MabLib
- {
- public static void main(String[] args)
- {
- Scanner input = new Scanner(System.in);
- System.out.println("What is your name?");
- String name = input.nextLine();
- System.out.println("Would you like to take a madlib?");
- String madlib = input.nextLine();
- System.out.println("Please choose an adjective");
- String adjective = input.nextLine();
- System.out.println("Please choose a verb");
- String verb = input.nextLine();
- System.out.println("Please choose a different adjective");
- String adjective2 = input.nextLine();
- System.out.println("Please choose a noun");
- String noun = input.nextLine();
- System.out.println("Please choose a color");
- String color = input.nextLine();
- System.out.println("PLease choose a plural noun");
- String pluralNoun = input.nextLine();
- System.out.println("Please choose a different verb");
- String verb2 = input.nextLine();
- System.out.println("Please choose a different adjective");
- String adjective3 = input.nextLine();
- System.out.println("Please choose a different verb");
- String verb3 = input.nextLine();
- System.out.println("Please choose a different noun");
- String noun2 = input.nextLine();
- System.out.println("Please choose a different adjective");
- String adjective4 = input.nextLine();
- System.out.println("Tonight is the night when all of the " + adjective);
- System.out.println("monsters come out to " + verb);
- System.out.println(adjective2 + " witches with big " + noun);
- System.out.println("and"+ color);
- System.out.println("shoes make potions and very spooky brews.");
- System.out.println("Vampires with " + pluralNoun);
- System.out.println("and long red capes visit with friends and search for neck napes.");
- System.out.println("Orges and ghosts sometimes " + verb2);
- System.out.println("and play, on this " + adjective3);
- System.out.println("October day.");
- System.out.println("All the trick-or-treaters " + verb3);
- System.out.println("and hunt for " + noun2);
- System.out.println("and a scare, dressed up as princesses and cowboys here and there.");
- System.out.println("Have a " + adjective4);
- System.out.println("Halloween!");
- System.out.println("\n");
- System.out.println("Haha, you said " + madlib);
- System.out.println("to taking a madlib but I did it anyway!");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement