Answer:
Program to Check Even or Odd
If the number is perfectly divisible by 2 , test expression number%2 == 0 evaluates to 1 (true). This means the number is even. However, if the test expression evaluates to 0 (false), the number is odd.
Copyright © 2024 EHUB.TIPS team's - All rights reserved.
Answers & Comments
Verified answer
Answer:
Program to Check Even or Odd
If the number is perfectly divisible by 2 , test expression number%2 == 0 evaluates to 1 (true). This means the number is even. However, if the test expression evaluates to 0 (false), the number is odd.