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

Why is it important to reduce the number of chromosomes in half when forming gametes for sexual reproduction?
i am 13 but my homework is 5)) help me with german please)))))))))
The wheels of a bicycle have a diameter of 70cm. How many meters will the bicycle travel if each wheel makes 50 revolutions
Bob is putting books on a shelf and takes a break after filling 18 1/2 inches on the book shelf. The book shelf is now 2/3 full. How long is the entire bookshel
A cabinmaker buys 3.5 liters of oat varnish the varnish cost $4.95 per liter what is the total cost of 3.5 liters
Which type of bacterial reproduction is depicted in the diagram?
PLEEEEEASE HELP MEEE!!!
I need help please help me I stuck and I don’t want to get it wrong
You are at a restaurant and owe $38 for your meal. You want to leave a 20% tip. How much will your tip be?
definition for excerpt illustrates the bandwagon propaganda technique