WAP to accept a number and to check even ot odd number​

Answers 1

Answer:

num = int (input (“Enter any no : “)

if (num % 2) == 0:

print (“The number is even”)

else:

print (“The provided number is odd”)

Explanation:

this is program u want

write it in your system for easily understand.

(note :- it is python coding you have to do some changes for other languages)

If you know the answer add it here!

Can't find the answer?

Log in with Google

or

Forgot your password?

I don't have an account, and I want to Register

Choose a language and a region
How much to ban the user?
1 hour 1 day 100 years