MIND MAP Algorithm
Control Structure : Selection : 1/5
Problem is to write a program that read a number and check if it is odd or even number then write the appropriate message.
MIND MAP
►
INPUT
►
Purpose
►
Input a Number from a user to check if it is Odd or Even
►
Implementation
►
Input Number
►
PROCESS
►
Purpose
►
Check if Number Mod 2 = 0 then Even, otherwise Odd
►
Implementation
►
IF
Number
Mod 2 =
Remainder
  → Remainder = 0 : EVEN  |  Remainder = 1 : ODD
►
OUTPUT
►
Purpose
►
Display a message showing whether the Number is Odd or Even
►
Implementation
►
Result
Message