Computer Science, asked by skoolboy4978, 9 months ago

Write A Function To Check Whether The Given Number Is Even Or Odd

Answers

Answered by karthiknvd9o
0

Answer:

Declare function to find even odd

First give a meaningful name to our function, say isEven() .

Next, the function must accept one integer which is to be validated for even condition, say isEven(int num) .

Finally as per name, the function must return true if given integer is even otherwise false .

thank me!

Similar questions