0

program to check even or odd with if else

13th Oct 2018, 5:40 AM
sam Awasthi
sam Awasthi - avatar
2 ответов
+ 3
Please show your own attempts.
13th Oct 2018, 5:41 AM
Hatsy Rei
Hatsy Rei - avatar
+ 1
Use the % operator that is find the remainder after division: 5%3=2 9%3=0 6%1=0 Now create your code
13th Oct 2018, 5:47 AM
Daniele Bonomi
Daniele Bonomi - avatar