0
How can check for even number results?
defining a functon that will print even number results only
3 Réponses
0
% operator can be used to find the reminder
So by condition " number %2==0" the function can be defined
0
thanks
0
Recent answer is right. Explanation:
"%" operator is the Modulo operator, that give the remainder of a devision. If the remainder is 0, the number is even.