Loop Pseudocode (David James B. Ignacio)
Loop Pseudocode (David James B. Ignacio)
IGNACIO
Input:
Count number: 6 2 8 7 15 67 38
Sample output:
Even even even odd odd odd even
Algorithm
1. Enter a number
2. Read the number
3. Condition:
If the number is divisible by 2 and has 0 remainder/modulus, then print Even,
Otherwise print Odd
Pseudocode
1. Enter a number
2. Read the number
3. Condition:
If the number %2 == 0: then print Even, otherwise print Odd