What would you insert instead of ???, so that the program checks for even numbers?

What would you insert instead of ???, so that the program checks for even numbers?

A . x % ‘even’ == True
B . x % 2 == 1
C . x % 2 == 0
D . x % x == 0
E . x % 1 == 2

Answer: C

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments