English
Tamil Nadu Board of Secondary EducationHSC Science Class 12

Compare if and if-else statement. - Computer Applications

Advertisements
Advertisements

Question

Compare if and if-else statement.

Distinguish Between

Solution

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
  Is there an error in this question or solution?
Chapter 6: PHP Conditional Statements - Evaluation - PART – II [Page 111]

APPEARS IN

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

Englishहिंदीमराठी


      Forgot password?
Use app×
Our website is made possible by ad-free subscriptions or displaying online advertisements to our visitors.
If you don't like ads you can support us by buying an ad-free subscription or please consider supporting us by disabling your ad blocker. Thank you.