-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathanipop.java
More file actions
39 lines (34 loc) · 1.16 KB
/
anipop.java
File metadata and controls
39 lines (34 loc) · 1.16 KB
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
35
36
37
38
39
package nyc.c4q.disonruan;
/**
* Created by fattyduck on 3/5/15.
* This code is just for fun and not going to be further commenting
*/
import java.util.Scanner;
public class anipop {
public static void main(String[] args){
Scanner cow = new Scanner(System.in);
int dog, cat, human;
System.out.println("How many humans are here?");
human=cow.nextInt();
System.out.println("How many dogs are here?");
dog=cow.nextInt();
System.out.println("How many cats are here?");
cat=cow.nextInt();
System.out.println("I will tell you let me tell you 3 facts about the future");
if(human<cat){
System.out.println("We are going to be doomed");
}else{
System.out.println("We are going to be saved");
}
if(human<dog) {
System.out.println("This world is going to be covered in drool");
}else{
System.out.println("This world is going to be a desert");
}
if(dog>cat){
System.out.println("Cats will be extinct");
}else{
System.out.println("There will still be cats");
}
}
}