0
a=11,b=12, c=40 (a>100 & & b>3) out put of a c
How get answer to the question
6 Réponses
+ 2
If you're saying int a = 11, int b = 12 and int C = 40, then asking if a is greater than 100 and b greater than 3 to print out the value of C, you'll never get it. A is 11 which is less than 100. You'll need to do 1 of 2 things. Instead of && use || which means or. b is 12 which is greater then 3 so would work in this case. Otherwise, make a larger than 100.
+ 1
the ans must be c=40 since there is and condition and a fails in that
0
so what is the output
0
result 0
0
compile time error
0
11