Computer Science, asked by sk8248276, 4 months ago

C programm that checks whether the given input is divisible by either 2

Answers

Answered by Talentedgirl1
0

Answer:

Logic to check divisibility of a number C supports a modulo operator % , that evaluates remainder on division of two operands. You can use this to check if a number is exactly divisible by some number or not. For example - if(8 % 2) , if the given expression evaluates 0 , then 8 is exactly divisible by 2.

Similar questions