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

increase 12 1/2 cm by 25 mm
Why is participating in a group a powerful way for a person to influence government? Voting has no effect unless people in a group agree to vote for the same pe
What profession grew substantially with women’s participation during the Civil War? A. banking B. nursing C. governing D. cooking
Napoleon's empire spread the ideas of French Revolution in Europe. One of these ideas was nationalism. How was Napoleon's domination a factor in spreading natio
Why is granite speckled
how do change 6.625 into fraction
the flight lasted for 12 seconds at an average speed of 10 feet per second. the ratio of the airplanes wingspan to the distance flown was 1:3 what was the wings
Which of the following is equivalent to the expression below? (51 x 19) over (51 x 27) 51/19, 51/27, 1 or 19/27?
Which is more, 5,280 feet or 1 mile?
How did the Greeks attempt to understand the world?