Test disivibility by 2






Pseudocode

  1. Start/Initialize
  2. Read the input number n
  3. If n % 2 == 0, then the number is divisible by 2
  4. Else, the number is not divisible by 2
  5. End/Terminate

Flowchart