enockclinton enockclinton
  • 04-04-2021
  • Computers and Technology
contestada

27. If X and Y are int type variables,
what will be the result of the
expression
X%Y when X=5 and Y=2?
a. 0
b. 1
c. 2
d. 3​

Respuesta :

hsakaaatpug hsakaaatpug
  • 04-04-2021
b)1.
In programming language % is used as modulo division . That it when used it gives the remainder as the output.
5%2 =1 (remainder).
Answer Link

Otras preguntas

What is the probability of someone correctly guessing your Social Security number? (Assume all digits 0-9 are available for use)a
An object with mass 60 kg moved in outer space. When it was at location < 13, -19, -3 > its speed was 3.5 m/s. A single constant force < 220, 320, -120
I just need the equation on how to do it. I'm so lost :'( help please!!!!!!
let f(x)=2x-3 and g(x)= -x^2-1 find ( g o f) (x)
An object with mass 60 kg moved in outer space. When it was at location < 13, -19, -3 > its speed was 3.5 m/s. A single constant force < 220, 320, -120
What is the probability of someone correctly guessing your Social Security number? (Assume all digits 0-9 are available for use)a
The Commissariat established by Frederick William in Prussia became A. the overseer of the army. B. an agency of civil government. C. both a military and civil
The Commissariat established by Frederick William in Prussia became A. the overseer of the army. B. an agency of civil government. C. both a military and civil
If 52 x equals 7800 y what does 1 x equal? What is the maths equation?
Six popular brands of tea are to be used in a blind taste study for consumer recognition. If three distinct brands are chosen from the six, and if the consumer