/home/ffrigin/NetBeansProjects/CS1/src/expressions/ExpressionsThing.java
 1 /*
 2  * Exploring the construction of arithametic expressions using very simple problem solving.
 3  */
 4 package expressions;
 5 
 6 /**
 7  *
 8  * @author ffrigin
 9  */
10 public class ExpressionsThing {
11 
12     /**
13      * @param args the command line arguments
14      */
15     public static void main(String[] args) {
16         double one = 3.14 * 5 + 5;
17         System.out.println("one = " + one);
18         double two = 3.14 * ( 5 + 5);
19         System.out.println("two = " + two);
20         double three = (3.14 * (5 + 5));
21         System.out.println("three = " + three);
22         int four = (2 * 3);
23         System.out.println("four = " + four);
24         double five = (55.0 * ( 1.0 / 2.0));
25         System.out.println("five = " + five);
26         double six = (65.0 * ( 1.0 / 3.0 ));
27         System.out.println("six = " + six);
28         double seven = (five + six);
29         System.out.println("seven = " + seven);
30         double eight = (3.14 * (11.3 * 11.3));
31         System.out.println("eight = " + eight);
32         double nine = (27.7 * 27.7);
33         System.out.println("nine = " + nine);
34         double ten = ((eight + nine) / 2.0);
35         System.out.println("ten = " + ten);
36         double eleven = (243.5 * 0.17);
37         System.out.println("eleven = " + eleven);
38         int twelve = (3 / 3);
39         System.out.println("twelve = " + twelve);
40         int thirteen = ((4 * 2) - 7);
41         System.out.println("thirteen = " + thirteen);
42         int fourteen = (((9 - 7) + 3) - 1);
43         System.out.println("fourteen = " + fourteen);
44         int fifteen = ((((8 - 6) + 4) / 2) + 2);
45         System.out.println("fifteen = " + fifteen);       
46 
47     }
48     
49 }
50