English
Tamil Nadu Board of Secondary EducationHSC Science Class 12

Differentiate if statement and if elseif statement.

Advertisements
Advertisements

Question

Differentiate if statement and if elseif statement.

Distinguish Between
Advertisements

Solution

If statement if else if else stamen
If-else if-else statement is a combination of if-else statement. It consists of a single “if statement”. There is no “else” statement here.
More than one state­ment can execute the condition based on user needs Only one statement can execute
If the condition is false, there are more alterna­tives are there If the condition is false, there is no alternatives
shaalaa.com
Control structures in PHP
  Is there an error in this question or solution?
Chapter 6: PHP Conditional Statements - Evaluation - PART – III [Page 111]

APPEARS IN

Samacheer Kalvi Computer Applications [English] Class 12 TN Board
Chapter 6 PHP Conditional Statements
Evaluation - PART – III | Q 5. | Page 111
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×