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

Find the inverse of function f. f(x)=1/3 x-2
The volume of the cone is [tex]\pi[/tex] , work out the height of the cone. radious = 6cm
The radius of a sphere is multiplied by 1/7 . What effect does this have on the volume of the sphere? A. The volume of the sphere is multiplied by 1/343 . B.
Kyle drops a ball from a height of 15 feet above the ground. The function h = −16t^2 + 15 gives the height h of the ball (in feet) after t seconds. Graph the fu
For what values of the variable is the rational expression undefined? 5x +4/ x2-1
Problem 5.Solve Show оr explain your workAmy. Bill, Katie, Gretchen and Dylan love chocolate. One afternoon, they each had 2 largechocolate bars Eachchocolate b
PLZ HELP ON THIS AH its another trigonometry question: An airplane flies 55 degrees east of north from city A to city B, a distance of 470 miles. Another airpl
Brett has a $30 online gift voucher. He plans to buy as many books as he can. The cost of each book is $4. There is also a single shipping charge of $2. How man
What is the mean for the data set? 138,142,105,112,108,134,106,181,164,105
Given AB | | DE. Triangle A B C. Side A B is 12 miles and B C is x miles. Triangle C D E. Side C D is 6 miles and D E is 8 miles. Sides A B and D E are paralle