New course! Every coder should learn Generative AI!
Try a free lesson+ 8
The answer should be 40.
Here is how it goes (hoping I am correct):
b=20
a=5
a=b (which means a=20 since b=20)
c=b*(a>10?2:3)
Here, since a>10 is true, the first statement (which is 2) will be compiled.
Thus, c=20*2=40
And that's the answer.