Programming Basics #17 Complex Conditions


http://learn-share.net/programming-basics-course/
Programming Course. The Basics of Programming.
#17 Complex Conditions

Learn to code.

Working with complex conditions.

So I have a condition here in this java_script file, a variable called balance and set it to 5000.

Then i’m going to write, my if statement.
The condition is going to be, if balance is greater then 0.
Then we need the code block.
And indenting to start to code, i’m going to write.
Alert, and, the balance is positive.

Ok, this is if the condition is true.
But, what if is not? If the condition is false?