Electrical and Computer Engineering
1 of 22
UAH
CPE 112
Nested if Statements
•Example (in pseudocode)
• IF today is Saturday or Sunday
• IF it is raining
• Sleep late
• ELSE
• Get up and go outside
• ELSE
• Go to work