Computer Science, asked by parthrathod0910, 10 months ago

w.a.p to show that given no is even or odd​

Answers

Answered by mauryasunny85
0

Answer:

But in what language?

Explanation:

Answered by presentmoment
0

A program to show a number is even or odd in Python.

Explanation:

num1= int(input("Enter the number:"))

if(num1%2==0):

   print(num1,"is even number.")

else:

   print(num1,"is odd number.")

The output of the program is given in the image.

Attachments:
Similar questions