Question: Given the variable declarations int x = 4; int y = 3; int z = 4; what are the results of the following relational expressions?
Given the variable declarations
int x = 4;
int y = –3;
int z = 4;
what are the results of the following relational expressions?
a. x == 4
b. x == y
c. x == z
d. y == z
e. x + y > 0
f. x – z != 0
g. y * y <= z
h. y / y == 1
i. x * (y + 2) > y - (y + z) * 2
Step by Step Solution
3.42 Rating (158 Votes )
There are 3 Steps involved in it
Results of relationa... View full answer
Get step-by-step solutions from verified subject matter experts
