Algorithm to check whether number is even or odd

Algorithm to check whether user entered mumber is even or odd.

Algorithm to check whether number is even or odd
@todaysq


Algorithm to check whether number is even or odd. in this 30 seconds of video you will Learn How to write algorithm to check whether number is even or odd.


Here are the steps to write algorithm.

Step1: start.

Step2: Accept a number.

Step3: Divide Number by 2.

Step4: check condition result equal to zero.

If yes , then print number is even.

Step5: Else print number odd.

Step6: Stop. 

Watch a video 



Comments