(no1>no2)?no1+no2:no1*no2
where no1=5.no2=7 *
Attachments:
Answers
Answered by
2
35 is the right answer
The condition results in false as number 1(5) is smaller than number 2(7).
So the false block will be executed.
number 1*number 2 will be executed giving 5*7.
Answer will be 35
Similar questions