Computer Science, asked by ekjotdhaliwal1412200, 9 days ago

1. Program to check whether a number is even or odd? ann the values of two variables​

Answers

Answered by usharanimatli
0

Answer:

int (input (“Enter any number to test whether it is odd or even: “) if (num % 2) == 0: print (“The number is even”) else: print (“The provided number is odd”) Output: Enter any number to test whether it is odd or even: 887 887 is odd.

Similar questions