Computer Science, asked by SohanSr3714, 7 months ago

1.write algorithms to find weather the give number is even or odd

Answers

Answered by shreya2908
2

Answer:

Program to Check Even or Odd

If the number is perfectly divisible by 2 , test expression number%2 == 0 evaluates to 1 (true). This means the number is even. However, if the test expression evaluates to 0 (false), the number is odd.

please mark me as the brainliest.....

Similar questions