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