Conditional operator is an alternative of:

While

if— else

if

Nested if