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

Given that the horizontal distance from the hoop to the free throw line (at point a) is 15 feet, how tall is the hoop? Round the answer to the nearest whole foo
the temperature dropped 2*F each hour for 6 hours. What was the total change in temperature?
ADD: 2x + 4y - 3z 3y + 2z + 6x 4z - 8x - 7y
"Quadrilateral ABCD underwent a sequence of transformations to give quadrilateral A′B′C′D′. Which transformations could have taken place? a reflection across t
"Let two plane mirrors are inclined at an angle theta. Total deviation produced from two inclined plane mirror after two successive reflection is given by delta
how to write 5x - 7y = 14 in function form
"What are the three collinear points? "
Find the 10th partial sum of the summation of negative 5i plus 2, from i equals 1 to infinity.
"What are the three collinear points? "
which of the following most accurately describes the extent of Alexander the Great's Empire