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

What is 0.625 as a percent
Make the following conversion. 0.080 mL = _____ L 800 L 80 L 0.00080 L 0.000080 L
for every left handed person there are 4 right handed people. if there are 30 students in a classroom writ a proportion for the number of right handed students
What two numbers add to make twenty and have a difference of four?
You may choose from "The Story of an Hour" After Twenty Years The Secret Life of Walter Mitty The Lottery In each story in this unit, the author uses suspense t
In both the United Kingdom and France, a group of Parliament members form a cabinet—also called a "government"—that handles many of the country's affairs with t
The WTO represents more than 95% of the world's trade. True or false
If you heard a famous ragtime song produced during the Tin Pan Alley era, which musician would you most likely be listening to? Robert Johnson Chuck Berry Scott
Why have the Atlantic Provinces developed differently than the Northwest territories? a. The Atlantic Provinces have a more temperate climate and are suitable f
In the metaphor of language as a layer cake given in your study unit, which of the following words could be considered to be a frosting word? A. Occasionally B