1.

Write an algorithm to check whether the given number is divisible by 2 or not​

Answer»

EXPLANATION:

  1. Start
  2. Input N, 2
  3. Calculate if (n%2==0) then is DIVISIBLE ELSE not divisible
  4. Output NUMBER is divisible or not
  5. Stop


Discussion

No Comment Found