What are the values of result1 and result2 when the following statements are executed
int num1=53,num2=35;
int result1=(num1>num2) ? num1: num2;
int result2=(num1<num2) ? num1: num2;
Answers
Answered by
0
Answer:
resunt1= 53
result2= 53
Answered by
0
Answer:
result1 = 53
result2 = 35
Explanation:
in first condition num1 will print
in second condition num2 will print
Similar questions
History,
6 months ago
Math,
6 months ago
Math,
1 year ago
Social Sciences,
1 year ago
Social Sciences,
1 year ago