Conditional Statements
Sometimes a program needs to make a decision and change its behavior accordingly.
Chaining Conditions
Sometimes a decision is more complex than a single yes/no question. C# gives us extra syntax for these cases.
Nesting Conditions
An if statement can contain another if statement, this is known as nesting.
Switch Statements
A switch statement checks one value against a list of cases and runs the block for the first case that matches.
Practice (Easy)
1. Temperature
Practice (Medium)
1. Ascending