Please enable JavaScript to use CodeHS

AP Computer Science A (Mocha)

Lesson 2.4 Arithmetic Expressions

Description

Arithmetic Expressions allow us to perform mathematical operations within Java. Such expressions can be used for basic math and even more complex algorithms.


Objective

Students will able to

  • write programs with arithmetic expressions in their programs.
  • use increment and decrement shortcuts when writing their code.