Computer Science, asked by Mayakiransingh, 10 months ago

one if can have more than one else clause true or false​

Answers

Answered by mayank52206
2

........one if can have more than one else clause.

False

Answered by AskewTronics
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