Points to Remember

  • ⚠️ Integer division truncates. 5 / 2 = 2
  • ceil(a / b) = 2❌
  • ceil((double)a / b) = 3✅