Q2:- Determine the values of
variable x and y:
int a=99,b=76;
boolean x=(a>b)?true:false;
int y=(a<b)?a:b;
Answers
Answered by
0
Answer:
X=true
Y=76
Explanation:
as x is asked in boolean form and y is asked in int form
Similar questions
Science,
1 month ago
English,
1 month ago
Hindi,
1 month ago
English,
3 months ago
Physics,
3 months ago
Computer Science,
9 months ago
Social Sciences,
9 months ago
World Languages,
9 months ago