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 did the case Plessey v. Ferguson decide?
Kara has 21 collectible buttons to sell. She sells the small buttons for $3 and the large buttons for $4, and earns a total of $68. If the small buttons are rep
What carries nerve impulses across the gap between two nerve cells?
Which of the following was a power granted to Congress under the Articles of Confederation? levy and regulate taxes declare and conduct war create and regulate
Which term is defined as the change in physical state from liquid to gas at the surface of a liquid 1 sublimation 2 vaporization 3 evaporation
The population of a small town in 1990 was 1,200 people, and the population in 2000 was 2,700 people. Let x represent the number of years since 1990. Let y repr
After Macbeth kills King Duncan, in a fever of guilt, he brings the daggers he used to kill the king back to his chambers. Lady Macbeth demanded that Macbeth re
Which one of the following pairs of numbers contains like fractions? A. 6/7 and 60/70 B. 4/8 and 12/16 C. 5/4 and 4/5 D. 1/2 and 3/2 I've taken this exam an
What is the word for the definition for the person in charge of a local union?
preventing the outbreak of a new war is the purpose of who