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

Read the following excerpt from Federalist #14 by James Madison Had overy State a right to regulate the value of its coin, there might be as many different curr
The ratio between consecutive terms of a geometric sequence.
Abinomial probability experiment is conducted with the given parameters. Compute the probability of x successes in the n independent trials of the experimen=10,
Share 75 birds into the ratio 8 : 5 : 2. Calculate the smallest share​
What are the intercellular communication types at a synapse? Select all that apply. a. soups - chemical synaptic transmission b. sparks - chemical synaptic tran
For the equations given below, which statement is true? -21 = 14 6.1 = -42 A. The equations have the same solution because the second equation can be obtained b
What kind of triangle is abc. Select all that apply. Geometry
A particle is moving along a projectile path at an initial height of 96 feet with an initial speed of 16 feet per second. This can be represented by the functio
20 points answer thisssss
Firms that charge relatively low prices and offer substantial differentiation are following a best-cost strategy. A best cost strategy can be an effective level