DEV Community

JEGADESHWARAN B
JEGADESHWARAN B

Posted on

Conditional Statement(Decision making)

Initial

Decision making statements control program decisions.
They execute code based on conditions.
They make programs intelligent.

Depth

They check whether a condition is true or false.
They choose different execution paths.

** More Depth**

Examples include if, if-else, else-if ladder, switch.

Final

Decision statements help programs make logical choices.

Top comments (0)