1 package expressions; 2 3 public class ExpressionsThing { 4 5 public static void main(String[] args) { 6 7 double one = 3.14 * 5 + 5; 8 9 System.out.println("one = " + one); 10 11 double two = 3.14 * (5 + 5); 12 13 System.out.println("two = " + two); 14 15 double three = (3.14 * (5 + 5)); 16 17 System.out.println("three = " + three); 18 19 int four = 2 * 3; 20 21 System.out.println("four = " + four); 22 23 double five = (55 / 2); 24 25 System.out.println("five = " + five); 26 27 double six = (65 / 3); 28 29 System.out.println("six = " + six); 30 31 double seven = (six + five ); 32 33 System.out.println("seven = " + seven); 34 35 36 double eight = 3.14 * (11.3 * 11.3); 37 38 System.out.println("eight = " + eight); 39 40 double nine = (27.7 * 27.7); 41 42 System.out.println("nine = " + nine); 43 44 double ten = (3.14 * (11.3 * 11.3) + (nine))/(2); 45 46 System.out.println("ten = " + ten); 47 48 double eleven = (.17/243.5) *(100); 49 50 System.out.println("eleven = " + eleven); 51 52 int twelve = (3 / 3); 53 54 int thirteen = (7 - (4 + 2)); 55 56 System.out.println("thirteen = " + thirteen); 57 58 int fourteen = (3 - 1) + (9 - 7 ); 59 60 System.out.println("fourteen = " + fourteen); 61 62 int fifteen =(4 + 6) / (8 / (2 + 2)); 63 64 System.out.println("fifteen = " + fifteen); 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 } 85 86 87 88 } 89 90