Advertisements
Advertisements
प्रश्न
Write is the purpose of if elseif else statement.
संक्षेप में उत्तर
उत्तर
- A user can decide among multiple options.
- The if statements are executed from the top I down.
- 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.
- If none of the conditions is true, then the final else statement will be executed.
- More than one statement can execute the condition based on user needs.
shaalaa.com
If elseif else Statement in PHP
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?