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

Elimination w/ multiplication
events that take place in other countries
When writing, is it important to use consistent verb tense when talking about a specific situation ?
An insurance company writes a policy to the effect that an amount of money A must be paid if some event E occurs within a year. If the company estimates that E
6s - 3s + 4 Use s = (-4)
Before Pepsi-Cola stamped freshness dates on its cans, few consumers considered cola freshness an issue. After Pepsi spent about $25 million on advertising and
Algunos de los libros de tratan de su proceso de adaptación a una cultura diferente. es un joven tejano director de cine. es un diseñador de modas. Las escenas
A triangle has two angles that measure 40 degrees and 100 degrees. what type of triangle is this ?​
Assume that isIsosceles is a boolean variable, and that the variables isoCount,triangleCount, and polygonCount have all been declared and initialized. Write a s
PLEASE HELP ASAP!!! I NEED CORRECT ANSWERS ONLY PLEASE!!! Find RS. Write your answer as an integer or as a decimal rounded to the nearest tenth. RS =