Conditional operator is an alternative of:

if

While

if— else

Nested if