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 sum of 7/10 and 6/100
what is the sum of 7/10 and 6/100
having troubles with inequalities.. 3.8x + 14.5 < 32
having troubles with inequalities.. 3.8x + 14.5 < 32
which trinomial is equivalent to (3x-1)(x+4)
having troubles with inequalities.. 3.8x + 14.5 < 32
which trinomial is equivalent to (3x-1)(x+4)
which trinomial is equivalent to (3x-1)(x+4)
what is the sum of 7/10 and 6/100
which trinomial is equivalent to (3x-1)(x+4)