Chapter: 11 Conditions: Single conditions: Take a variable and assign your first name and check with your surname, firstname, lastname to check the conditions.
1. If:
2. If else
3. Else if
4. Switch
a. Case
b. Break
c. Default
Code: [ if, else if, else ]
Output:
Code: [ switch case, break, default ]
Output:
1. If:
2. If else
3. Else if
4. Switch
a. Case
b. Break
c. Default
Code: [ if, else if, else ]
Output:
Code: [ switch case, break, default ]
Output: