Loops, basic calculator, methods