-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVars.java
More file actions
25 lines (22 loc) · 897 Bytes
/
Vars.java
File metadata and controls
25 lines (22 loc) · 897 Bytes
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
package nyc.c4q.disonruan;
/**
* Created by fattyduck on 3/3/15.
*This is another fun project for the heck of it so I won't be commenting
*/
public class Vars {
public static void main(String[] args){
System.out.println("I will now count my chickens:");
System.out.println("Hens " + (25+30/6));
System.out.println("Roosters " + (100-25*3%4));
System.out.println("Now I will count the eggs:");
System.out.println(3+2+1-5+4%2-1/4+6);
System.out.println("Is it true that 3 +2<5-7?");
System.out.println(3+2 < 5-7);
System.out.println("What is 3+2?" + (3+2));
System.out.println("What is 5-7?" + (5-7));
System.out.println("Oh, that's why it's false.");
System.out.println("Is it greater?" + (5>-2));
System.out.println("Is it greater or equal?"+ (5>-2));
System.out.println("nope");
}
}