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

write a rule to describe a translation 5 units left and 10 units up
lesson 3 homework 5.2
Read the sentence below and complete the instruction that follows. Constellations, groups of stars, provide astronomers with a roadmap of the galaxy. Identify t
What brought people's awareness to the plight of the jews??
Read this passage: How great was Kovaloff's terror and astonishment when he saw that it was his own nose! At this extraordinary sight, everything seemed to turn
1. A Chapter takes 65 minutes to read. Express 65 minutes as an improper fraction of an hour in simplest form. ( 1 hour= 60 minutes) A. 7/6 B. 13/12 C. 1/20 D.
A submarine at a depth of -25 2/3 feet descended 5 1/2 feet. The submarine then ascended 2 1/6 feet. Write an expression to determine the depth of the submarine
Give the quantum number set for one electron in the 2p sublevel of a nitrogen (N) atom.
A given line has the equation 10x + 2y = −2. What is the equation, in slope-intercept form, of the line that is parallel to the given line and passes through th
which of the following is a type of prediction