| Title | Topics | Action | |||
|---|---|---|---|---|---|
| 145 | Throw on Division by ZeroComplete the `safeDivide` function below.
If `b` is 0, throw a `std::runtime_er... | easy | ○ Not Started | FunctionsExceptions | Solve |
| 146 | Catch a Runtime ErrorThe function `riskyDivide` below already throws a `std::runtime_error` when `b` ... | easy | ○ Not Started | FunctionsExceptions | Solve |
| 147 | Validate Age with ExceptionComplete the `validateAge(int age)` function.
- If `age` is less than 0, throw ... | easy | ○ Not Started | FunctionsExceptions | Solve |
| 150 | Validate Test ScoreComplete the `validateScore(int score)` function.
- If `score` is less than 0 o... | easy | ○ Not Started | FunctionsExceptions | Solve |
| 151 | Multiple Catch BlocksWrite two functions that demonstrate catching different exception types:
1. `pr... | medium | ○ Not Started | FunctionsExceptions | Solve |
| 154 | Rethrowing ExceptionsWrite two functions that demonstrate logging and rethrowing an exception:
1. `l... | medium | ○ Not Started | FunctionsExceptions | Solve |