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 submarine descends at a constant rate of 300 feet per minute. Which of the following equations best represents how to find the change of altitude of the subma
You are dispatched for a patient who called 911 after what was reported to be a fall from a ladder. On your arrival, the patient admits to having been injured d
What times 1.5 gives you 10
Most often the combining vowel is the letter _______________. 1) A 2) O 3) U 4) E
Which two plants with psychoactive properties were known to be used for medicinal purposes in ancient egypt? a. the poppy and the blue lotus b. cannabis and the
Question 10(Multiple Choice Worth 1 points) (02.05 MC) Triangle ABC is a right triangle. Point D is the midpoint of side AB, and point E is the midpoint of sid
The rule for a 90⁰ counterclockwise rotation about the origin is: a) (x, y) → (-y, x) b) (x, y) → (y, -x) c) (x, y) → (-x, -y) d) (x, y) → (x, -y)
Language development of bilingual learners is ______ than that of monolingual learners. 1) faster 2) slower 3) equal 4) cannot be determined
How to Evaluate the Expression : -3.75-(6 1/4)
P(qx+5) is equivalent to 18x +r. What are possible values for p, w, and x?