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

Using the laws of indices, simplify the following:- √h × √h³ =
what was Margaret Brent accomplishments
A basketball rolls of a 0.70 m high desk and strikes the floor 0.25 m away from the base of the desk? How fast was the ball rolling?
System of equations x-y-2z=4, -x+2y+z=1, x+y-3z=11. Solve by elimination
how many hundredths are in 0.5
Why are frying pans usually made out of metal?
Mr Jones has 20,000 to invest. He invests part at 6% and part at 7%, if hr earns 1,280 in interest after 1 year, how much did he invest at each rate.
Can someone help solve, 3y+6=30-7y
Consider the following statement. Fourteen more than 12 times the number equals 37 less than 11 times a number. a. Write an equation to represent the statement.
Prove that 2n + 1 ≤ 2n for n ≥ 3