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

What is the partial pressure of oxygen in a mixture that contains 0.30 moles of o2, 0.70 moles of n2, and 0.25 moles of ar with a total pressure of 1.1 atm?
A friend shares a bootlegged copy of a movie on dvd. are you in violation of copyright laws by watching this dvd?
Can someone please help me?
Which relationship is a direct variation?
What did piaget call the process in which changes occur in the existing way a child thinks in response to encounters with new stimuli or events?
If an elderly client consumes fewer than _____ calories a day, a multivitamin-mineral supplement is recommended.
The doctor told ellie and tom to compute the gestational age of their fetus by determining the time of
941 milliliters is the same as: cm3 and L
A triangle had two sides that measure to 12 meters and 3 meters. Which could be the measure of the third side ? A) 17m B) 15m C) 10m D) 9m
Which amendment prohibited states from violating citizens' civil rights? A. First Amendment B. Tenth Amendment C. Twelfth Amendment D. Fourteenth Amendment