Want to know more about us and our multimedia, animation & web design courses, feel free to Contact Us. We would love to hear from you.
Use if conditional statement if you want to execute something based on some condition.
If 1 is greater than 0 then the condition is true and out will be True if the condition is false than output will be false.
Declare two variables var mySal and var yoursal then display whose salary is greater.
Use else statement when you want to execute the code every time when if condition evaluates to false.
Use "else if" condition when you want to apply second level condition after if statement.
|Monday To Friday||8:00 Am To 8:00Pm|
|Saturday & Sunday||8:00 Am To 5:00Pm|