public class IntegerArithm { public static void main(String[] args) { int a, b, c; a = 7; // Put breakpoint here to demo b = 3; c = a + b; // 7 + 3 = 10 c = a - b; // 7 + 3 = 4 c = a * b; // 7 + 3 = 21 c = a / b; // 7 + 3 = 2 (computes the quotient of 7/3) c = a % b; // 7 + 3 = 1 (computes the remainder of 7/3) } }