The Conditional Operator
The conditional operator is used as an alternative of a simple if-else statement.
The conditional operator consists of "?" (question mark) and a ":" (colon) . Its syntax is

by Tahira Aijaz is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.