InterviewSolution
Saved Bookmarks
| 1. |
Give the general form of if else if statement with example |
|
Answer» The If-Else STATEMENT The general form of if-else is as FOLLOWS: if (test-expression) { True BLOCK of statements } Else { False block of statements } Statements; N this type of a construct, if the value of test-expression is true, then the true block of statements will be EXECUTED. |
|