In C++ the braces of and if or an else clause can contain another if statement. There are known as nested if statements. In simple terms a nested if is when you write an IF inside another IF braces. This… Continue Reading →
The nesting of a conditional statement works by writing an “If-else” inside another “if-else”, this way we can apply multiple conditions to a single value, having something similar to a filter with multiple layers. This is an important tool, but you should be very careful when writing a nested condition, since this can get very … Continue reading Nesting of conditional statements