Computer Science, asked by Anonymous, 7 months ago

write a program check no is even or odd​

Answers

Answered by yashish11
1

Answer:

Enter an integer: -7 -7 is odd. In the program, the integer entered by the user is stored in the variable num . Then, whether num is perfectly divisible by 2 or not is checked using the modulus % operator. If the number is perfectly divisible by 2 , test expression number%2 == 0 evaluates to 1 (true).

Explanation:

thankyou for the question BE HAPPY #BE HAPPY

Answered by nikhilpradhan929
0

Answer:

wz93vei3f3ic4iy few ne9dgrjeisjbejs

Similar questions