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

Which of the following sentences could take the place of: Ustedes compraron un regalo para ellos. Los lo compraron. Se lo compraron. Se les compraron.
Can some one help me with number 12 please.
Do you think placing an Alka-Seltzer in water causes a chemical reaction? Explain Why.
pedro cut a sheet of poster board into 10 equal parts. his brother used some of the poster board and now 8/10 is left. pedro wants to make a sign from each rem
When will an inflation happen in a specific country ? What causes it?
How many triangles can be constructed with three angles, each measuring 63°? A one B none C more than one
How does the fourth principle, concerning liberty, connect to the idea that certain guaranteed freedoms in American life are limited in some ways?
ten more shoes than Ruben
Solve the quadratic equation by completing the square. =+x2+18x760 First, choose the appropriate form and fill in the blanks with the correct numbers. Then, so
After taking off from John F. Kennedy airport, an airplane travels 500 kilometers due north and then 700 kilometers west. What is its total displacement?