Как да се справим с вложен цикъл for и оператор if
Примерен код
0
0
вложен оператор if
if (condition) {
if (anotherCondition) {
// executes if both condition and anotherCondition are true
} else {
// executes if condition is true and anotherCondition is false
}
} else {
// executes if condition is false
}