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

If a bean of mass 2.0g jumps 1.0cm from your hand into the air, how much potential energy has it gained in reaching its highest point.
Write Each Fraction As A Decimal. (shown Below) 2 -- 10 is it 2.10?
One of the key questions for analyzing purpose is: Why is the author writing about the subject? True or false?
David uses the following accounts in South West Airlines Service: General Ledger: 1. Cash at Bank account 2. Cash in Hand account 3. David Capital account 4. Da
What marked the end of the Russian monarchy? A)the Russian Civil War B)the Russian Revolution C)the tsar and his family’s move to Siberia D)the execution of the
Jenna live 4 3/10 miles from school. She estimates that she travels 4x2x5,or 40 miles each week.Is her estimate an overestimate or and underestimate?
Explain how interactions between genes and the environment can affect phenotype
Why Is the Bill of Rights Important?
¿Estarán los miembros de su familia en la misma cuidad?
Which of the following were invented by the Eskimos? canoe harpoon kayak bow and arrow fire (there is more than 1 answer)