Advertisement
MelindaElezovic

Madlib Project

Oct 27th, 2015
385
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 2.46 KB | None | 0 0
  1. //Melinda
  2. //10.26.15
  3. //Madlib Project
  4. import java.util.Scanner;
  5.  
  6. public class MabLib
  7. {
  8.   public static void main(String[] args)
  9.   {
  10.     Scanner input = new Scanner(System.in);
  11.     System.out.println("What is your name?");
  12.     String name = input.nextLine();
  13.     System.out.println("Would you like to take a madlib?");
  14.     String madlib = input.nextLine();
  15.     System.out.println("Please choose an adjective");
  16.     String adjective = input.nextLine();
  17.     System.out.println("Please choose a verb");
  18.     String verb = input.nextLine();
  19.     System.out.println("Please choose a different adjective");
  20.     String adjective2 = input.nextLine();
  21.     System.out.println("Please choose a noun");
  22.     String noun = input.nextLine();
  23.     System.out.println("Please choose a color");
  24.     String color = input.nextLine();
  25.     System.out.println("PLease choose a plural noun");
  26.     String pluralNoun = input.nextLine();
  27.     System.out.println("Please choose a different verb");
  28.     String verb2 = input.nextLine();
  29.     System.out.println("Please choose a different adjective");
  30.     String adjective3 = input.nextLine();
  31.     System.out.println("Please choose a different verb");
  32.     String verb3 = input.nextLine();
  33.     System.out.println("Please choose a different noun");
  34.     String noun2 = input.nextLine();
  35.     System.out.println("Please choose a different adjective");
  36.     String adjective4 = input.nextLine();
  37.    
  38.     System.out.println("Tonight is the night when all of the " + adjective);
  39.     System.out.println("monsters come out to " + verb);
  40.     System.out.println(adjective2 + " witches with big " + noun);
  41.     System.out.println("and"+ color);
  42.     System.out.println("shoes make potions and very spooky brews.");
  43.     System.out.println("Vampires with " + pluralNoun);
  44.     System.out.println("and long red capes visit with friends and search for neck napes.");
  45.     System.out.println("Orges and ghosts sometimes " + verb2);
  46.     System.out.println("and play, on this " + adjective3);
  47.     System.out.println("October day.");
  48.     System.out.println("All the trick-or-treaters " + verb3);
  49.     System.out.println("and hunt for " + noun2);
  50.     System.out.println("and a scare, dressed up as princesses and cowboys here and there.");
  51.     System.out.println("Have a " + adjective4);
  52.     System.out.println("Halloween!");
  53.     System.out.println("\n");
  54.     System.out.println("Haha, you said " + madlib);
  55.     System.out.println("to taking a madlib but I did it anyway!");
  56.   }
  57. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement