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