Conditional operator is an alternative of:

Correct

if

Incorrect

While

Incorrect

Nested if

Incorrect

if— else