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

Consider the following reaction at 298K. I2 (s) + 2 Cr2+ (aq) 2 I- (aq) + 2 Cr3+ (aq) Which of the following statements are correct? Choose all that apply. n =
Classical conditioning applies mostly to ________, while operant conditioning mostly applies to __________
A dealer buys oranges for 100000, he sold 60% of them for buying price, he sold 50% of the remaining for profit of 60% then he sold the remaining for a loss of
The pyloric sphincter controls the exit of food from the stomach to the small intestines. a. true b. false
How many ways are there to get from (0, 0) to (7, 7) in the coordinate plane with movements of only one unit right or one unit up? How many ways are there to do
What is the simplified form of i^86? A. 1 B. i C. -1 D. -i
Provide one way in which didier pittet’s hand hygiene campaign was ineffective or in which the approach had to be adjusted. Could this have been avoided?
Which resource management activity identifies and verifies that personnel are qualified.
Select the correct answer. What role did the United States have in the Six-Day War?
Approximately what percent of these products are recycled? aluminum: % steel: % copper: %