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

In a contraction, the apostrophe should always be placed A. just before the last letter. B. immediately after the last letter. C. between the first word and the
After World War I, the Ottoman Empire __________. A. became the center of the Muslim world B. became extremely wealthy as a result of the discovery of oil C. wa
what is the importance of prehistory
Fill in the blank with the correct word. The Andersons _____ funnier as a TV cartoon than as a movie with live actors. is are has been
A lack of Hungarian representatives in the government and ____________________ lead to uprisings against Austrian rule.
Can someone check my answers please? According to Michael Faraday's World, which intrigued Michael Faraday? *A. magnets B. the tides C. volcanoes D. weather &
What effect did the American westward movement have on diplomatic relations with Great Britain and Spain?
if you solve an equation by graphing each side as a separate line, which of the following corresponds to the solution of the equation?
should eighth be capitalized if use in a sentence
what are the definitions to 'law of soil' and 'law of blood' ? what does it mean ? please help me .