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

The list of methods that were called before an exception occurred is called the
Select the choice which best identifies the given passage from "The Cask of Amontillado." "At the most remote end of the crypt there appeared another less spac
Rewrite the sentence below by changing the modifier. She is the most popular of the two tributes.
what are the three main jobs of the digestive sytem
What is the sine of angle x ?
1. What kind of ruler is King Louis XVI? 2. Why might the people of France be angry with King Louis XVI?
Select all the potential effects of damming a river. A. Increased erosion B. Increased water reserves C. Disruption of river ecosystems D. Increased
the valence electrons of metals are weakly attracted to the parent nuclei so the electrons break free and float. the moving electrons form a ______ blanket that
I NEED HELP ON THIS
Classify the equation, 9x + 4 = 9x - 8, as having one solution, no solution, or infiinitely many solutions.