ExpressionsThing.java
1    package expressions;
2    
3    public class ExpressionsThing {
4        public static void main(String[] args) {
5    
6            double one = 3.14 * 5 + 5;
7            System.out.println("one = " + one);
8            double two = 3.14 * (5 + 5);
9            System.out.println("two = " + two);
10           double three = (3.14 * (5 + 5));
11           System.out.println("three = " + three);
12           double four = 5 * 6;
13           System.out.println("four =" + four);
14           double five = 55/2;
15           System.out.println("five=" + five);
16           double six = 65/3;
17           System.out.println("six =" + six);
18           double seven = five+ six;
19           System.out.println("seven =" + seven);
20           double eight = 3.14 * (11.5*11.5);
21           System.out.println("eight=" + eight);
22           double nine = (27.7 * 27.7);
23           System.out.println("nine=" + nine);
24           double ten = 27.7 * (11.3 * 11.3);
25           System.out.println("ten=" + ten);
26           double eleven = 243.5 * (17/100);
27           System.out.println("eleven=" + eleven);
28           int twelve = 3/3;
29           System.out.println("twelve = " + twelve);
30           int thirteen = (7-4)-2;
31           System.out.println("thirteen = " + thirteen);
32           int fourteen =  (9+3)-(7+1);
33           System.out.println("fourteen = " + fourteen);
34           int fifteen = 6-(((2+2)+4)/8);
35           System.out.println("fifteen = " + fifteen);
36   
37   
38   
39       }
40   }
41