Computer Science, asked by mune11, 5 days ago

Explain Nested If Else Condition With suitable example.​

Answers

Answered by rakshitmalik296
1

Answer:

When control goes to outer else block then num2 is greater. ... Since this if-else block is within another if-else block so this is nested if-else. Here condition 33> -17 is TRUE so control goes to if block within outer else block i.e. printf("Largest = %d", num3); is executed giving output Largest = 33.

Similar questions