English
Tamil Nadu Board of Secondary EducationHSC Science Class 12

Write is the purpose of if elseif else statement. - Computer Applications

Advertisements
Advertisements

Question

Write is the purpose of if elseif else statement.

Answer in Brief

Solution

  1. A user can decide among multiple options.
  2. The if statements are executed from the top I down.
  3. As soon as one of the conditions controlling the if is true, the statement associated with that if is executed, and the rest of the ladder is bypassed.
  4. If none of the conditions is true, then the final else statement will be executed.
  5. More than one statement can execute the condition based on user needs.
shaalaa.com
If elseif else Statement 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 2. | Page 111
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×