Computer Science, asked by mominsajad2005, 3 months ago

Write algorithm to find if a number is odd or even?

Answers

Answered by aarti225566
4

Explanation:

❖Find Even Odd Program In C❖

✴Algorithm. Algorithm of this program is very easy − START Step 1 → Take integer variable A Step 2 → Assign value to the variable Step 3 → Perform A modulo 2 and check result if output is 0 Step 4 → If true print A is even Step 5 → If false print A is odd STOP.

➩Flow Diagram. ...

➩Pseudocode. ...

➩Implementation. ...

➩Output.

__☆HOPE U GET SOME HELP☆__

Similar questions