Computer Science, asked by jaydave2703, 5 months ago

write an algorithm to find weather the given number is odd or even

Answers

Answered by bhumika2357
2

Answer:

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.

Explanation:

please Mark me brilliant

Similar questions