ExpressionsThing.java
1    // This program allows the exporing of construction of arithmetic expressions in the context of some very 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 * .33333333333333333333333333333333333333333333333333333333333333333);
18           System.out.println("six = " + six);
19           double seven = (( .5 * 55) + (.3333333333333333333333333333333 * 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 =  ((nine + eight) / 2.0);
26           System.out.println("ten = " + ten);
27           double eleven = (243.5 * 0.17);
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