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

Jane exchanged £100 for 216 Swiss francs. After buying a meal and a present to take home,she had 70 francs left.How much is this in £?​
The length of a rectangle is 7 meters longer than its width. What is the width of this rectangle if its perimeter is equal to 86 meters?
ASAPPPPPP!! PLEASE help me!!!!!!!!!!
6. The given mass of helium occupiesa volume of 250 cm3 at 10 OC and0.2 atm. What will be its volume at 12OC and 1.4 atm?A29 76 cm3​
While viewing the Electron Transport Chain simulation in Labster, it showed how electrons from electron carriers are 'dropped off' at the beginning of the proce
In Spanish does mi mean I does Ella mean she and what is the corresponding pronoun for they
Consider a team that you are familiar with - either by being a member of the team, a team leader, or a bystander. What were the team's goals?
Find the point Q along the directed line segement from point R (-3, 3) to point S(6, -3) that divides the segment in the ratio 2:1.
WHY DO WE NEED A UNIVERSAL LANGUAGE​? GIVE A BRIEF DESCRIPTION AND WHY ENGLISH IS A UNIVERSAL LANGUAGE
What is a3 if an=64(12)n−1