हिंदी

Compare if and if-else statement.

Advertisements

प्रश्न

Compare if and if-else statement.

अंतर स्पष्ट करें
Advertisements

उत्तर

If Statement If else Statement
if statement checks a condition and exe­cutes a set of state­ments when this con­dition is true, it does not do anything when the condition is false. if-else statement checks a condition and executes a set of statements when this condition is true, it executes another set of statements when the condition is false.
shaalaa.com
Control structures in PHP
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 6: PHP Conditional Statements - Evaluation - PART – II [पृष्ठ १११]

APPEARS IN

सामाचीर कलवी Computer Applications [English] Class 12 TN Board
अध्याय 6 PHP Conditional Statements
Evaluation - PART – II | Q 9. | पृष्ठ १११
Advertisements
Share
Notifications



      Forgot password?
Use app×