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
Math,
1 month ago
Accountancy,
1 month ago
Math,
1 month ago
Computer Science,
2 months ago
Chemistry,
2 months ago
Math,
8 months ago
Math,
8 months ago
Biology,
8 months ago