Computer Science, asked by anasisin, 1 year ago

please tell the output of this

Attachments:

Answers

Answered by amannishad0512p5zxh6
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
amannishad0512p5zxh6: I am java lover,pls ask
amannishad0512p5zxh6: You have posted it then i will see
anasisin: I've posted it
anasisin: its urgent kindly answer
amannishad0512p5zxh6: I have answered bro
amannishad0512p5zxh6: See,it Raftaaaaaaaaaaaaaaarrr
amannishad0512p5zxh6: Anasisin bro,see it if any query then ask me
amannishad0512p5zxh6: Follow me for more java related doubts ,tricks and logics
amannishad0512p5zxh6: and not forget to mark me brainlest
Similar questions