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

Consider the poems. "She Walks in Beauty" by George Gordon Byron An excerpt from "To Helen" by Edgar Allan Poe She walks in Beauty, like the night Of cloudle
Which behavior is most likely that of a person who is less prone to depression than others? A. keeping one's emotions private B. standing up for one's beliefs C
What is a possible effect of an error during transaction?
What time period do children celebrate when they go with their art class to practice their Impressionist painting skills? June 6 500 BC 11th century 1860’s
Mrs. Bowser spends $39 on 3 slices of pizza and 5 bags of popcorn. Mrs. Lassetter spends $36.50 on 5 slices of pizza and 2 bags of popcorn. After a couple of ho
PLEASE HELP 14 POINTS
what are some consequences of natural and man made disasters as it affects global trade?
What is the square root of 114 to the nearest tenth
Which tight-knit organization affiliated with a political party that gave favors to supporters to help keep them in Power? A) Populism B) Political Machines C)
Please help I will mark brainliest