tmacer8321 tmacer8321
  • 14-09-2019
  • Computers and Technology
contestada

If variable x has value 2 and y has value 2, what is the value of the following Jack expression?

(x + 3) / (4 - y)

Respuesta :

StaceeLichtenstein StaceeLichtenstein
  • 18-09-2019

Answer:

The value of the following expression is "2".

Explanation:

Here x has value 2 means x=2,and y has value 2 means y=2.

so (x+3)/(4-y)

  (2+3)/(4-2)

5/2 it gives 2 because /(slash) operator gives the quotient part .The slash    operator divide the left hand operand by the right hand operand.On dividing 5/2 it returns integer value i.e 2.

Answer Link

Otras preguntas

True or false? By the end of the last ice age, humans began the practice of agriculture.
speed with direction is called
The Neolithic Revolution refers to the time when early humans were beginning to do what?
What is the term utilized when union workers refuse to work due to contractual disagreements
$1.06 what is it rounded to the nearest cent
you want to describe the harmonic motion of a swing. You find out that it take 2 seconds for the swing to complete one cycle. What is the swing's period and fre
$1.06 what is it rounded to the nearest cent
sixteen action figures are arranged equally on 2 shelves. How many action figures are on each shelf?Model the problem with both an array and a labeled tape diag
What did J.J. Thomson discover about the atom that changed the atomic model previously used?
One purpose of the Marshall Plan of 1948 was to (A) rebuild European economies to make communism less appealing (B) aid the depressed agricultural economies of