christianbabona christianbabona
  • 19-03-2017
  • Computers and Technology
contestada

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

Respuesta :

xjkbel
xjkbel xjkbel
  • 20-03-2017

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.

Answer Link

Otras preguntas

how do I find the orthocenter of the triangle with these coordinates(8,10)(5,-10)(0,0)
Book is I have a Dream
What’s The Relationship Between graduating high school And Earning income
How many medical clusters are found in the directory
which expression is equivalent to 28 plus 35 ? A) 28 (1 plus 7) B) 7( 4 plus 5) C) 7( 4 plus 7) D) 4) ( 7 plus 9)
If the number of crests that pass a point in a given time increases, what has increased? intensity wavelength frequency amplitude
Find the remaining trigonometric functions of θ based on the given information.csc θ = 257 and cos θ < 0
Explain why different elements each produce a unique line spectrum when heated and examined with a spectroscope.
what best describes the united states at the begunning of the twetieth century
What happens to the water after it reaches the leaves