Is if-else-if statement the if-else statement or the if-else if-else statement?
Home
/
Computer Science
/
Is if-else-if statement the if-else statement or the if-else if-else statement?
Is if-else-if statement the if-else statement or the if-else if-else statement?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
I
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.