algorithm to find a number divisible by 2 or not
Answers
Answered by
3
Answer:
- Start.
- Start.Input n, 2.
- Start.Input n, 2.Calculate if (n%2==0) then is divisible else not divisible.
- Start.Input n, 2.Calculate if (n%2==0) then is divisible else not divisible.Output number is divisible or not.
- Start.Input n, 2.Calculate if (n%2==0) then is divisible else not divisible.Output number is divisible or not.Stop.
hope it helps you...
Similar questions
Chemistry,
3 months ago
Math,
3 months ago
India Languages,
6 months ago
Science,
6 months ago
Math,
11 months ago