Computer Science, asked by sonaltiwary8, 6 months ago

what is the difference between if else and if else if ​

Answers

Answered by mayureshbelamakar190
3
If and else if both are used to test the conditions. In the if case compiler check all cases Wether it is true or false. if no one block execute then else part will be executed. in the case of else if compiler stop the flow of program when it got false value.

Pls mark me as the brainliest
Answered by TARU6446
1

Answer:

If and else if both are used to test the conditions. In the if case compiler check all cases Wether it is true or false. if no one block execute then else part will be executed. in the case of else if compiler stop the flow of program when it got false value

hope it will help you

Similar questions