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

Taryn conducted a science experiment on saturation. She added sugar to sugar water solution at different intervals. The graph shows how much sugar was in the so
Take a look at the statement below: Fish meal is better than artificial fertilizers. How could this statement be revised to make it a hypothesis? Fish meal is s
The first government dealt with the Native American problem by _____. A. Getting an army together and running them off. B. Not letting any more settlers move to
18tons 42 pounds divided by 3 = ____tons ____pounds
What is a safety precaution that should be taken when investigating the electrolysis of lead bromide?
In the Winter Olympics, an ice skater may lift his partner high above his head. A typical female ice skater weighs 400 N, and the male can usually lift her 1.4
Jade ran 6 times around her neighborhood to complete a total of 1 mile. How many times will she need to run to complete 5/6 of mile
Freedom of speech can be limited whenever: the president chooses to limit it. the states want to limit it. a majority of Congress chooses to do so. it is likely
Can some one help me solve this?
does anyone know what has integers as it's square root?