Computer Science, asked by toobusiness714, 7 months ago

Write a program to take an input, if number is odd then program should print

message “Odd number.” And if number is even then program should print

“even number”. (Hint : Use Modulus Operator)​

Answers

Answered by divyanshpatidar51
0

Answer:

see below

Explanation:

If a number is exactly divisible by 2 then its an even number else it is an odd number. In this article we have shared two ways(Two C programs) to check whether the input number is even or odd. 1) Using Modulus operator(%) 2) Using Bitwise operator.

Answered by eshanmanoj23oct
0

Answer:

Explanation:

java or python

Similar questions