//This is just a start. Play around with operators a little bit to get comfortable class Operators { public static void main(String args[]) { int x = 50; x++; //This is the same as x = x + 1. x is now 51 System.out.println("X is now " +x); // Should print 51 x *= 10; //This is the same as x = x * 10. x is now 510 System.out.println("X is now " +x); // Should print 510 int a=2, b=3, c =4; int z = a++ *c /b; // * and / have equal precedence and associate left to right. // * is done first. a * c = 8. / is done next. 8 / b = 2 (integer math) // = is done next. z is now 2. a++ is done last. a is now 3. System.out.println("Z is now " +z); // Should print 2 System.out.println("A is now " +a); // Should print 3 } }