Computer Science, asked by nsamaiyar76, 11 months ago

write a program to input a number and check if the number is even or odd ​

Answers

Answered by punithapaul
1

In which programming language must I give?

Answered by masterkrish
2

Answer:

n=int(input("enter the number:"))

if n=1,3,5,7,9:

print("it is an odd number")

elif n=2,4,6,8:

print("it is an even number")

else:

print("start new program")

Similar questions