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

Is 0.33 a rational or irrational number? Explain.
What event in “Diary 24” from The Freedom Writers Diary by Erin Gruwell and the Freedom Writers gives the author hope that he has a home and a future?
Which sentence has a parallel structure? The doctor recommends that you rest for a week and eating low-fat food at regular intervals. The doctor recommends rest
Mark buys A wooden board that is 7 1/2 feet long the cost of the wooden board is 0.50 cents per foot including tax enter the total cost in dollars of the wooden
Based on climate change an overview What are the effects of global climate change
What did Andrew Jackson and Frederick Douglass say about their hopes for the future of the United States?
Luis colors 1/4 of a spinner using a red crayon. write the fraction of the spinner Luis colored red in twelfths.
How are gamma rays made? Also, how are they important?
What is an example of the strong nuclear force?
How is the pope similar to and different from other bishops?