Java Arena

Module 7

Problem-solving patterns

The start of MOOC part 2. Most small programs follow a few patterns, and knowing them makes new problems familiar. Read, calculate and print; the Math methods; read, decide and print; and programs that combine them.

Steps

  1. Read, calculate, print
  2. Math methods
  3. Read, decide, print
  4. Combining the patterns