Q6
m=14
if(m%2==0);
print("Even")
else:
print("Odd")
A. Even
B. Odd
C. 14
D. None of these.
Answers
Answered by
0
Here,
m=14
and m%2 = 14%2 = remainder obtained when 14 is divided by 2 = 0
Which implies that the first condition (m%2==0) is met
So, it'll print out "Even"
Similar questions