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

what is t degrees????? help asap
I WILL REWARD BRAINLIEST!!!!!!!
Which sentence from the text would be MOST IMPORTANT to identify the structure of this speech as problem-solution? A) Ours has been called the jet age, the atom
Lol anyone wanna help with my chemistry? I suck at it and any help at all would be appreciated.
Four families went out for lunch. The total food bill came to $167. The families also left a $300 tip for the waitress.if each family spent the same amount, abo
(Question 2)The data set is 38,68,78,88,98
The term racial unconscious means that A. each species and culture shares ancient memories, stored in the unconscious part of the mind. B. we're all raci
State whether the graph of a linear relationship is a solid line or a set of unconnected points. The relation ship between the height of a tree and the time sin
“The right of citizens of the United States to vote in any primary or other election for President or Vice President, for electors for President or Vice Preside
What is anne franks basic belief and perspective about the world?