write a program to find the number is even or odd
Answers
Answered by
3
Answer:
If a number is evenly divisible by 2 with no remainder, then it is even. You can calculate the remainder with the modulo operator % like this num % 2 == 0 . If a number divided by 2 leaves a remainder of 1, then the number is odd. You can check for this using num % 2 == 1
Answered by
1
Answer:
we can say; that which number is divisible by two such as 2,4,6,8,10,12,14 etc these are even number .... And which can't divisible by 2 such as 1,3,5,7,9,11,13,15,17, etc
Similar questions
Social Sciences,
1 month ago
History,
1 month ago
Math,
9 months ago
English,
9 months ago
English,
9 months ago