/home/evankemp/NetBeansProjects/CS1/src/expressions/ExpressionsThing.java
 1 /*
 2  * Exploring the construction of arithmetic expressions 
 3  * in the context of simple problem solving.
 4  */
 5 package expressions;
 6 
 7 /**
 8  *
 9  * @author evankemp
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         
24         int four = (2*3);
25         System.out.println("four = " + four);
26         double five = (0.5*55);
27         System.out.println("five = " + five);
28         double six = (0.3333*65);
29         System.out.println("six = " + six);
30         double seven = (five+six);
31         System.out.println("seven = " + seven);
32         
33         double eight = (3.14*(11.3*11.3));
34         System.out.println("eight = " + eight);
35         double nine = (27.7*27.7);
36         System.out.println("nine = " + nine);
37         double ten = ((eight + nine)/2.0);
38         System.out.println("ten = " + ten);
39         double eleven = (0.17*243.5);
40         System.out.println("eleven = " + eleven);
41         
42         int twelve = (3/3);
43         System.out.println("twelve = " + twelve);
44         int thirteen = (7-(4+2));
45         System.out.println("thirteen = " + thirteen);
46         int fourteen = ((9+7)/(1+3));
47         System.out.println("fourteen = " + fourteen);
48         int fifteen = ((6+8)/(4/2)-2);
49         System.out.println("fifteen = " + fifteen);
50         
51     }
52     
53 }
54