Computer Science, asked by karayatmansi, 3 months ago

write a program to find whether giving number is even or odd using if else statement?

Answers

Answered by Shrisha7576
4

Answer:

CLS

Input" Enter any number";N

IF N MOD 2=0 Then

Print"It is even number"

ELSE

PRINT "It is odd number"

ENDIF

END

Answered by cmanikshanth
0

Answer:

write a program to find whether giving number is even or odd using if else statement?

Explanation:

a=eval (input("enter a number")

if (a%2= =0)

print (a" is an even number")

else:

print (a" is an odd number")

Similar questions