Math, asked by osteenrohit, 6 months ago

algorithm to find a number divisible by 2 or not

Answers

Answered by Anonymous
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