please tell the output of this
Attachments:
Answers
Answered by
1
Output is :-
r=50
because in terinary statement ,it checks condition that is (a>45) as a=50 it satisfy the condition,then a will be choosen and r=50.
In case if the condition is false then else part means be selected.
Mark me brainlest @
I am first to answer @
amannishad0512p5zxh6:
Ask bro,pls
Similar questions