1 package expressions; 2 3 public class ExpressionThing { 4 public static void main(String[] args) { 5 double one = 3.14 * 5 + 5; 6 System.out.println("one = "+one); 7 double two = 3.14 * (5 + 5); 8 System.out.println("two = "+two); 9 double three = (3.14 * (5 + 5)); 10 System.out.println("three = "+three); 11 int four =(5*6); 12 System.out.println("four = "+four); 13 double five =((55)/2); 14 System.out.println("five = "+five); 15 double six =((65)/3); 16 System.out.println("six = "+six); 17 double seven = (five+six); 18 System.out.println("seven = "+seven); 19 double eight =((11.3*2)*3.14); 20 System.out.println("eight ="+eight); 21 double nine =(27.7*27.7); 22 System.out.println("nine = "+nine); 23 double ten =((eight+nine)/2); 24 System.out.println("ten = "+ten); 25 double eleven =(.17*243.5); 26 System.out.println("eleven = "+eleven); 27 int twelve =(3/3); 28 System.out.println("twelve = "+twelve); 29 int thirteen =(7-(2+4)); 30 System.out.println("thirteen = "+thirteen); 31 int fourteen =((9-7)+(3-1)); 32 System.out.println("fourteen = "+fourteen); 33 int fifteen =((((2+2)+6)+8)/2); 34 System.out.println("fifteen = "+fifteen); 35 } 36 } 37