Ask Question
5 August, 22:57

If num is an int which expression always evaluates to true if num holds an odd number

+2
Answers (1)
  1. 6 August, 01:44
    0
    num%2==1

    The modulo operator (%) divides the left hand side by the right hand side and returns the remainder. When dividing an odd number by 2 there will always be a remainder of 1.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “If num is an int which expression always evaluates to true if num holds an odd number ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers