Write an algorithm to find wether a given number is even or odd
Answers
Answered by
0
Answer:
number=int(input("Enter the number- "))
if (number%2)==0:
print("It is even number")
elif (number%2)!=0:
print("It is odd number")
Similar questions
Math,
1 month ago
English,
1 month ago
Math,
3 months ago
Social Sciences,
9 months ago
Math,
9 months ago