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

Segment GH is the diameter of a circle. If point K is located on the circle, which of the following could be the measure of angle GHK A 59° B 99°
What is a negative effect of imperialism that can still be seen today? Former British colonies now belong to the British Commonwealth. Many former colonies
What is the interquartile range of this data?
Which of the following is evidence that an area was once covered by a glacier?
1/34 2/57 3/80 4/103
For a certain type of injury, the equation yˆ=4.094x+6.255 models the number of minutes a patient can walk on a treadmill, where x is the number of sessions
A consequence of "yo-yo" dieting is that
Which expressions are equivalent to the one below? Check all that apply.
Cancel multiply 7/22×11/14
write the algebraic expression for 4 more than the product of p and 8