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

Read each sentence below. Determine if the preposition shows direction, location, or time. Amelia sat between Lucas and Vivian. Makiko will stay until three o'c
what 1/2 as a decimal??? plaese helppp
Photography is harder with digital cameras than with film cameras.truefalse
Partition of the Indian subcontinent was an attempt to _____. stop conflict between Hindus and Muslims control excessive spending by the Mughal emperor Shah Jah
Name two things that increase the amount of nitrogen in the nitrogen cycle
find the inverse of the function y=2x^2
What is the term for changes in allele frequency that happen randomly from one generation to the next?
A major effect of the Commercial Revolution was
How do public safety regulations protect workers?
About 5% of the population has a particular genetic mutation. 900 people are randomly selected. Find the mean for the number of people with the genetic mutation