Ask Question

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

+5
Answers (1)
  1. 21 October, 10:54
    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?
Find 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 the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers