Pseudocode to Check, Number is Odd or Even

Pseudocode to Check, Number is Odd or Even
Here's the complete Pseudocode to check number is even or odd.

You can check from two methods whether the number is odd or even.


Pseudocode to Check Whether Number is Odd or Even


1st Method:

0. Start
1. Print "Enter Any Number to Check, Even or Odd"
2. Read input of a number
3. If number mod = 0
4. Print "Number is Even"
5. Else
6. Print "Number is Odd"
7. End

2nd Method:

0. Start
1. Print "Enter Any Number to Check, Even or Odd"
2. Read input of a number
3. If number mod = 1
4.  Print "Number is Odd"
5. Else
6.  Print "Number is Even"
7. End

Learn How to check even or odd in C language.

Comments

Popular posts from this blog

How to Create Marksheet in C