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 average worker has _______ jobs during his or her career years. A. 3 c. 6 B. 4 d. 12
Metallurgy was well known by the Guptas, as can be attested to by the copper iron steel bronze pillar of Delhi.
maria's math test had 25 questions she got 84% correct how many did she get wrong
A metaphor _____. uses like or as to compare is a direct comparison gives human characteristics to animals is a historical reference
One of the main things that tobacco did for Jamestown was to
a way to prevent heat exhaustion
Imagine you are living in 1898, and read the headline about the “Little Big Horn.” How might that headline have influenced your opinion, or view, of the Indian
When two lines intersect to form two angles, what conjecture can you make about the pair of angles that are next to each other?
An insect that has been fossilized in near-perfect form most likely has been entrapped in _____. A. mud B. sand C. amber D. volcanic ash
what country had the biggest percentage of casualties in world war 1?