Advertisement
joefromsansnite

pp thingy

Aug 16th, 2020 (edited)
4,642
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.85 KB | None | 0 0
  1. using System;
  2. using static Another_Project.Methods;
  3.  
  4. namespace Another_Project
  5. {
  6.     class Program
  7.     {
  8.         static void Main(string[] args)
  9.         {
  10.             Console.Write("");
  11.             string msg = Console.ReadLine();
  12.  
  13.             if (msg == "pls pp" || msg == "pls penis")
  14.             {
  15.                 GenerateP();
  16.             }
  17.         }
  18.  
  19.         static void GenerateP()
  20.         {
  21.             Random random = new Random();
  22.             int random_range = random.Next(0, 10);
  23.  
  24.             string e = "";
  25.             string p = "";
  26.  
  27.             for (int i = 0; i < random_range; i++)
  28.             {
  29.                 e += "=";
  30.             }
  31.             p = $"8{e}D";
  32.             print(p);
  33.             string inch = (random_range < 2) ? "inch" : "inches";
  34.             print($"{random_range} {inch}\n");
  35.         }
  36.     }
  37. }
  38.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement