repl.it
@SingularityV3/

What is Computer Science?

Java

No description

fork
loading
Files
  • Main.java
  • jdt.ls-java-project
  • ThreadRunner.java
Main.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
class Main {
  static int randomNum(int min, int max) {
    return (int)(Math.round((Math.random() * (max - min) + 1) + min));
  }
  static ThreadRunner t = new ThreadRunner();
  static String[] responses = {
    " fun.",
    " enjoyable.",
    " addicting.",
    " tedious, why do I keep torturing myself?",
    " fun, but debuging is a pain.",
    "... Wait, why are there pandas over there?",
    "... I'm running out of things to put here.",
    " fun, but runtime errors man. Screw runtime errors.",
    " a pain in the butt. But I like it.",
    " my best friend and my worst enemy (seriously, screw runtime errors).",
    "... Error 404, snarky comment not found.",
    " a recipe for having no friends. But joke's on you, I had no friends to begin with!",
    " squirrel!",
    " like giving the most nitpicky audience a book of instructions that must make sense when opened to any page.",
    " the meaning of life, the universe, and everything.",
    " fourty-two.",
    " secretly an eldritch ritual.",
    "... wait, let me ask Stack Overflow.",
    " marked as duplicate. - Stack Overflow",
    " a stupid question. - Stack Overflow",
    " a bottomless pit of insanity",
    "... nevermind guys, I figured it out. <Issue Closed> - Stack Overflow",
    " pain and suffering. Do not make the same mistakes I made."
  };
  public static void main(String[] args) {
    t.start();
  }
}
?