1 package expressions; 2 3 public class ExpressionsThing { 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 =(2*3); 12 System.out.println("four =" +four); 13 double five = (.5 * 55); 14 System.out.println("five =" +five); 15 double six =(65 / 3); 16 System.out.println("six=" + six); 17 double seven =((55/2) * (65/3)); 18 System.out.println("seven=" + seven); 19 double eight =(3.14 * (11.3 * 11.3)); 20 System.out.println("eight=" + eight); 21 double nine =(27.7 * 27.7); 22 System.out.println("nine=" + nine); 23 double ten =((nine + eight)/2); 24 System.out.println("ten=" +ten); 25 double eleven =(243.5 * .17); 26 System.out.println("eleven =" +eleven); 27 int twelve =(3/3); 28 System.out.println("twelve =" +twelve); 29 int thirteen =((7-4)/2); 30 System.out.println("thirteen =" +thirteen); 31 int fourteen =((3+9) - (7+1)); 32 System.out.println("fourteen =" +fourteen); 33 int fifteen =(((2+2) * (4+6)) / 8 ); 34 System.out.println("fifteen =" +fifteen); 35 } 36 } 37