Computer Science, asked by garimasahukp, 9 months ago

ca
III. Predict the output:
1. int C = (3-4)? 3*4:3+4;
2. int a = 14, b=4;
boolean x = (a>b)? true: false;
3. int x = 90;
char c = (x<=90)? 'Z:'I';
4. int a = 18; int b = 12;
boolean t = (a>20&& b< 15)? true false;
5. c = (val + 550 < 1700)? 200: 400;
if: (a) val = 1000
(b) val = 1500​

Answers

Answered by hi132
2

Answer:

1) in the bracket is it 3==4 or something else? if == then 7

2) true

3) I

4) false

5)a) 200

b) 400

hope this helps

Answered by josemyjose68
0

Answer:

I dont know this ones answer

Similar questions