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