Java Arena

Module 4

Calculating with numbers

Arithmetic with + - * /, the order of operations, joining numbers and text without surprises, integer division and casting to double, and tracing what each variable holds.

Steps

  1. Arithmetic and precedence
  2. Calculating with input
  3. Numbers and text together
  4. Division and casting
  5. A small calculator
  6. Tracing values