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

A sand box has an area of 45 ft. The length is 4 feet longer than the width. What are the dimensions of the sand box? Solve by completing the square
which of the following did not trigger Haiti's fight for independence
by what length is is 0.5 m less than 10.05
all answers to how to be a smart risk taker
why did many aristocrats support legalism
Express 9.062 as a mixed number in the simplest form.
A grain storage bin has the following dimensions, 11 feet high, 28 feet long and 12 feet wide. The volume of 1 bushel is 2200 cubic inches or 1.273 cubic fee
all answers to how to be a smart risk taker
Simplify. 26 + (–3) ∙ (–8) A. –184 B. –2 C. 2 D. 50
If a 21 ounce box of cereal costa $2.94,what is the unit price.