Conditions
if condition
else branch
Conditions with logical operators
Boolean algebraNested conditions
switch condition
Exercises
- Write a logic of 3 branches with keywords
if,else if,else. - Write a menu logic of your favorite restaurant with
switch-case.