New course! Every coder should learn Generative AI!
Try a free lesson0
program to check even or odd with if else
2 Answers
+ 3
Please show your own attempts.
+ 1
Use the % operator that is find the remainder after division:
5%3=2
9%3=0
6%1=0
Now create your code