+1 vote

1 Answer

+6 votes
by kratos
 
Best answer
  1. Start the program.
  2. Read the Number.
  3. condition - is num % 2 = 0
    if yes, num = even
    no, num = odd
  4. condition - is num = 5
    if yes, print even
    no, num = num+1
  5. End the program.

...