Ticker

6/recent/ticker-posts

Program to check whether the number is even or odd

Here we have to take a int type value by the user Then we have to check the entered number is even or odd.

in above program we use modulas operator to get the remainder and using if..else conditional statement as well as remainder we can easily determine entered number is even or odd.

Post a Comment

0 Comments

Ad Code

Join our New Telegram Channel