write control statements if else nested if and conditional operators with example?
Answers
Answered by
1
Nesting means using one if-else construct within another one. ... In the outer if-else, the condition provided checks if a number is less than 10. If the condition is true then and only then it will execute the inner loop. In this case, the condition is true hence the inner block is processed
Similar questions