one if can have more than one else clause true or false
Answers
Answered by
2
........one if can have more than one else clause.
False
Answered by
2
False is the correct answer for the above question :
Explanation:
- The if-clause is used to check the condition if the conditional statement of the if clause is true then the body of "if" will be executed. but if the decision of the condition is not true, then the body of else is executed.
- The else block is only one for any if statement. It is because the else statement will be executed if the if condition is not true.
- But the above question states the reverse of the above concept. Hence the answer is false.
Learn More:
- If-else statements : https://brainly.in/question/14985443
Similar questions
English,
5 months ago
Computer Science,
5 months ago
Physics,
10 months ago
Science,
10 months ago
Geography,
1 year ago