Computer Science, asked by pavi7332, 1 month ago

a = (50 >= 100) ? 400 : 200​

Answers

Answered by legenddivine005
3

Answer:

it is a ternary operator..

in if else it will be:

if(50>=100)

a=400;

else

a=200;

Answered by BrainlyProgrammer
4

Answer(Output):

a=200

Explanation:

50>=100, condition is false

so 'a' will store 200

Let's know more:

On converting to if-else statement, it would look like this..

if(50>=100)

a=400

else

a=200

Similar questions