Write the syntax for if-else-if conditional statement.
Answers
Answered by
4
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.
Similar questions