196k views
1 vote
If variable x has value 2 and y has value 2, what is the value of the following Jack expression?

(x + 3) / (4 - y)

User DPdl
by
7.5k points

1 Answer

3 votes

Answer:

The value of the following expression is "2".

Step-by-step 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.

User Ahsankhan
by
5.9k points