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

Which of Steno’s principles is responsible for the thin undisturbed layers found in the Grand Canyon? A.principle of superposition B.principle of original horiz
Can someone help me solve X please?
How did immigration to the United States from Europe change between 1840 and 1850?
On average, human males weigh ________ percent more than women.
Which description is not a property of an acid? A turns litmus paper red B bitter taste C corrosive D dissolve metals
"Five score years ago, a great American, in whose symbolic shadow we stand today, signed the Emancipation Proclamation. This momentous decree came as a great be
The two most abundant elements in earth's core are ?
Which of the following is a trinomial?
Write two ratios that are equivalent to 5/7
What is 3x-9-5x=-7 if you solve for x