Advertisement
Guest User

Untitled

a guest
Apr 24th, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 5 4.48 KB | None | 0 0
  1. package wanker;
  2.  
  3. import java.util.Arrays;
  4. import java.util.Scanner;
  5.  
  6. public class Wanker {
  7.  
  8.     public static void main(String[] args) {
  9.         String sperm = "~";
  10.         char h = (char) 8715;
  11.         String head = Character.toString(h);
  12.         String shaft = "=";
  13.         char b = (char) 400;
  14.         String balls = Character.toString(b);
  15.         String penis[] = {balls, shaft, head, sperm};
  16.         Scanner s = new Scanner(System.in);
  17.         String[] trues = {"yes", "ya", "yea", "true", "yee", "ok"};
  18.         String[] falses = {"no", "false", "no thank you"};
  19.         for (int i = 0; i < 1;) {
  20.             System.out.println("Would you like me to make your penis today?");
  21.             String response = s.next().toLowerCase();
  22.             if (Arrays.asList(trues).contains(response)) {
  23.                 for (int y = 0; y < 1;){
  24.                 System.out.println("How long is your penis in inches?");
  25.                 response = s.next().toLowerCase();
  26.                 int length = Integer.parseInt(response);
  27.                 switch (length) {
  28.  
  29.                     case 1:
  30.                         System.out.println("That's too fucking short!");
  31.                         break;
  32.                     case 2:
  33.                         penis[1] = buildlength(2);
  34.                         y++;
  35.                         break;
  36.                     case 3:
  37.                         penis[1] = buildlength(3);
  38.                         y++;
  39.                         break;
  40.                     case 4:
  41.                         penis[1] = buildlength(4);
  42.                         y++;
  43.                         break;
  44.                     case 5:
  45.                         penis[1] = buildlength(5);
  46.                         y++;
  47.                         break;
  48.                     case 6:
  49.                         penis[1] = buildlength(6);
  50.                         y++;
  51.                         break;
  52.                     case 7:
  53.                         penis[1] = buildlength(7);
  54.                         y++;
  55.                         break;
  56.                     case 8:
  57.                         penis[1] = buildlength(8);
  58.                         y++;
  59.                         break;
  60.                     case 9:
  61.                         penis[1] = buildlength(9);
  62.                         y++;
  63.                         break;
  64.                     case 10:
  65.                         penis[1] = buildlength(10);
  66.                         y++;
  67.                         break;
  68.                     case 11:
  69.                         penis[1] = buildlength(11);
  70.                         y++;
  71.                         break;
  72.                     case 12:
  73.                         penis[1] = buildlength(12);
  74.                         y++;
  75.                         break;
  76.                     default:
  77.                         if (length > 12) {
  78.                             System.out.println("Fucking liar!");
  79.                            
  80.                         } else {
  81.                             System.out.println("not a valid number");
  82.                         }
  83.                 }
  84.                        
  85.                 }
  86.                 System.out.println("How large is your load? Large, Medium or Small?");
  87.                 response = s.next().toLowerCase();
  88.                 for (int w = 0; w < 1;){
  89.                 switch (response) {
  90.                     case "small":
  91.                         penis[3] = "~~~";
  92.                         w++;
  93.                         break;
  94.                     case "medium":
  95.                         penis[3] = "~~~~~~";
  96.                         w++;
  97.                         break;
  98.                     case "large":
  99.                         penis[3] = "~~~~~~~~~";
  100.                         w++;
  101.                         break;
  102.                     default:
  103.                         System.out.println("not a valid number");
  104.                         break;
  105.                 }
  106.                 }
  107.                 System.out.println("Here is a picture of your penis!");
  108.                 System.out.println(penis[0]+penis[1]+penis[2]+penis[3]);
  109.                 i++;
  110.             } else if (Arrays.asList(falses).contains(response)) {
  111.                 System.exit(0);
  112.             } else {
  113.                 System.out.println("I didn't catch that, please retry");
  114.             }
  115.         }
  116.  
  117.    
  118.     }
  119.     public static String buildlength(int i) {
  120.         String blength = "";
  121.         for (int z = 0; z < i-1; z++) {
  122.             blength = blength + "=";
  123.         }
  124.         return blength;
  125.     }
  126. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement