Professional Documents
Culture Documents
a. x>y||y<z
b. x%y+z==x+z
c. x/y+ ++z
d. (double)(x/y)+z
e. (double) x/y+z
f. !(y<=2) &&x%2==0
2) What is the result of the following expressions, if the values of x= 10, y=5, z=20 and A is defined as an integer?
1. A=x+y-z/2;
2. A=x*(y%2);
3. A=x++-y++;
4. A=--z+z--;
5. A=--y+ ++z-y++/x++;
c==a+b || !flag;
a!=7&& flag || c>=6;
!(b<=12)&&a%2==0;
!(a>5||c<a+b);
a. x/(float) m;
b. (double)(m*n);
c. (float)(m/n)+y;
d. (double)n/m+y;