Important Notice:

Course Content
Switch Statement
0/1
break and continue Statements
0/3
Basic Form Validation in JavaScript
0/1
JavaScript & Angular JS (Chapter- 6) M2-R5.1
About Lesson

Conditional Statement:-

                          Conditional statements का उपयोग different conditions के आधार पर flow of execution को decide करने के लिए किया जाता है यदि कोई condition true है, तो आप एक action perform कर सकते हैं और यदि condition false है, तो आप another action perform कर सकते हैं।

There are 5 types of conditional statement

  • If statement

  • If-else Statement

  • If –else- if-else statement

  • Nested if

  • Complex Condition

 

Conditional Statement:-

                          Conditional statements are used to decide the flow of execution based on different conditions. If a condition is true, you can perform an action and if the condition is false, you can perform another action.

There are 5 types of conditional statement

  • If statement

  • If-else Statement

  • If –else- if-else statement

  • Nested if

  • Complex Condition

error: Content is protected !!