ExpressionsThing.java
/* 
 * A program that plays around with math 
 */

package expressions;

public class ExpressionsThing {

    public static void main(String[] args) {
        // Task 3
        double one = 3.14 * 5 + 5;
        System.out.println("one = " + one);
        double two = 3.14 * (5 + 5);
        System.out.println("two = " + two);
        double three = (3.14 * (5 + 5));
        System.out.println("three = " + three);

        //Task 4
        int four = (2 * 3);
        System.out.println("four = " + four);
        double five = (0.5 * 55);
        System.out.println("five = " + five);
        double six = (65 / 3);
        System.out.println("six = " + six);
        double seven = ((55 / 2) + (65/3));
        System.out.println("seven = " + seven);

        //Task 5
        double eight = (3.14 * (11.3 * 11.3));
        System.out.println("eight = " + eight);
        double nine = (27.7 * 27.7);
        System.out.println("nine = " + nine);
        double ten = ((11.3 + 27.7) / 2);
        System.out.println("ten = " + ten);
        double eleven = (0.17 * 243.5);
        System.out.println("eleven = " + eleven);

        //Task 6
        int twelve = (3 / 3);
        System.out.println("twelve = " + twelve);
        int thirteen = (7 - (4 + 2));
        System.out.println("thirteen = " + thirteen);
        int fourteen = ((9 - 7) + (3 - 1));
        System.out.println("fourteen = " + fourteen);
        int fifteen = ((6 - 2) + ((8/4)/2));
        System.out.println("fifteen = " + fifteen);
    }
}