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

Hey, need some help reverent A. respectful B. respect C. reply D. to spoil
An ice cube is dropped into boiling water. How will heat flow between the water and the ice cube?
can u tell me how to solve this promblem 4/7 plus 3/7
Hey, need some help reverent A. respectful B. respect C. reply D. to spoil
The Habsburg Empire did all of the following EXCEPT A. take control of Hungary, Croatia, and Slovonia. B. lose their Holy Roman Empire in Germany. C. remain a c
A graph depicts force versus position. What represents the work done by the force over the given displacement? A. The work done is equal to the product of the m
let f(x)=2x-3 and g(x)= -x^2-1 find ( g o f) (x)
The Habsburg Empire did all of the following EXCEPT A. take control of Hungary, Croatia, and Slovonia. B. lose their Holy Roman Empire in Germany. C. remain a c
wats the 60% off a prize that is $20.00
What was the South’s greatest concern when California applied for statehood?