ExpressionsThing.java
1    // This program allows the exploring of the construction of arithmetic expressions in the context of simple problem solving //
2    
3    package expressions;
4    
5    public class ExpressionsThing {
6        public static void main(String[] args) {
7            double one = 3.14 * 5 + 5;
8            System.out.println("One = " + one);
9            double two = 3.14 * (5 + 5);
10           System.out.println("Two = " + two);
11           double three = (3.14 * (5 + 5));
12           System.out.println("Three = " + three);
13           int four = (2 * (3));
14           System.out.println("Four = " + four);
15           double five = (.5 *(55));
16           System.out.println("Five = " + five);
17           double six = (65 * 1/3.0);
18           System.out.println("Six = " + six);
19           double seven = ((.5 * 55)+(1/3.0 * 65));
20           System.out.println("Seven = " + seven);
21           double eight = (3.14 * (11.3 * 11.3));
22           System.out.println("Eight = " + eight);
23           double nine = (27.7 * 27.7);
24           System.out.println("Nine = " + nine);
25           double ten = ((eight + nine) / 2.0);
26           System.out.println("Ten = " + ten);
27           double eleven = (.17 * 243.5);
28           System.out.println("Eleven = " + eleven);
29           int twelve =  (3 / 3);
30           System.out.println("Twelve = " + twelve);
31           int thirteen = (7 - 4 - 2);
32           System.out.println("Thirteen = " + thirteen);
33           int fourteen = (( 9 - 7) + 3) - 1;
34           System.out.println("Fourteen = " + fourteen);
35           int fifteen = (8 + 6 + 4 + 2 + 2);
36           System.out.println("Fifteen = " + fifteen);
37   
38   
39   
40   
41   
42       }
43   
44   
45   }
46