ExpressionsThing.java
1    /* 
2    Progam that affords opportunities to explore the construction of arithmetic 
3    This is in the context of some very simple problem solving 
4     */
5    package expressions;
6    
7    public class ExpressionsThing {
8        public static void main(String[] args) {
9            double one = 3.14 * 5 + 5;
10           System.out.println("one = " + one);
11           double two = 3.14 * (5 + 5 );
12           System.out.println("two = " + two);
13           double three = (3.14 * (5 + 5 ));
14           System.out.println("three = " + three);
15   
16           int four = (5 * 6);
17           System.out.println("four = " + four);
18           double five = (55.0 / 2.0);
19           System.out.println("five = " + five);
20           double six = (65.0 / 3.0);
21           System.out.println("six = " + six);
22           double seven = ((55.0 / 2.0) + (65.0 / 3.0));
23           System.out.println("seven = " + seven);
24   
25           double eight = (3.14 * (11.3 * 11.3) );
26           System.out.println("eight = " + eight);
27           double nine = (27.7 * 27.7);
28           System.out.println("nine = " + nine);
29           double ten = (((3.14 * (11.3 * 11.3)) + (27.7 * 27.7)) / 2.0);
30           System.out.println("ten = " + ten);
31           double eleven = (0.17 * 243.5);
32           System.out.println("eleven = " + eleven);
33   
34           int twelve = (3 / 3);
35           System.out.println("tweleve = " + twelve);
36           int thirteen = ((7 - 4) -2);
37           System.out.println("thirteen = " + thirteen);
38           int fourteen = (((9 - 7) + 3) - 1);
39           System.out.println(" fourteen = " + fourteen);
40           int fifteen = (((8 - 4) - 2) + (6 / 2));
41           System.out.println("fifteen = " + fifteen);
42   
43       }
44   }
45