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

Estimate 39 divided by 5
Which of the following rules represents the function shown in the table? A.) f( n) = 3 n B.) f( n) = n + 3 C.) f( n) = 1/3n
happy holidays this is a special gift for you guys so here's the free 100pts
help me please!!! anything will help.
write at equation for the line that is perpendicular to the given line and that contains the given point y=-1/3x + 5 ; (2,5)
El niño es _____ que el hombre. 1. más 2. menos 3. menor 4. menos
What is the meaning of this metaphor: Our close resemblance turned the tide/ Of my domestic life A)Looking alike made their lives horrible. B)Since they looked
The teacher offered the students a choice between writing a how-to or a descriptive essay for extra credit. In this sentence, which is the indirect object? cre
Which factor made it easy for communism to spread in Eastern Europe? O Many people lacked military power. O Many people did not follow a religion. Many people w
Ok this is my second question someone PLEASE help!