Advertisement
Guest User

Untitled

a guest
Dec 18th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. package classesmostly;
  2.  
  3. import java.util.Scanner;
  4.  
  5. public class Memes {
  6.  
  7. public static void roses(String roses, String violets, String message) {
  8. while(true) {
  9. Scanner input = new Scanner(System.in);
  10. System.out.println("Color");
  11. roses = input.nextLine();
  12. System.out.println("Another color");
  13. violets = input.nextLine();
  14. System.out.println("Message");
  15. message = input.nextLine();
  16.  
  17. System.out.println("Roses are " + roses);
  18. System.out.println("Violets are " + violets);
  19. System.out.println("You guessed it right " + message);
  20.  
  21. }
  22. }
  23. public static void knockKnockWhosThere(String name, String who, String fuckYou) throws InterruptedException {
  24. Scanner input = new Scanner(System.in);
  25. System.out.println("Knock Knock whos there?");
  26. name = input.nextLine();
  27. Thread.sleep(500);
  28. System.out.println(name + " Who");
  29. Thread.sleep(500);
  30. input.nextLine();
  31. fuckYou = "Fuck You";
  32. Thread.sleep(5000);
  33. System.out.println();
  34. System.out.println();
  35. System.out.println();
  36. while(true) {
  37. System.out.println(name + " " + fuckYou);
  38.  
  39. }
  40. }
  41. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement