Logical Explanations
- if ( )
- true statement;
- else
____________________
- you can have an if statement without an else statement
- but you can not have an
- Statement Block- allows the programmer to have more than one statement inside an if statement
- In order to use a compound condition you need a truth table
- Not is not used very often
- Use the Not operator to make a false condition evaluate to true and a true condition evaluate to false.
- This operator only acts on a single
- SWITCH
{
case "Your_Test_1":
//Your Code Here
break;
case "Your_Test_2":
//More Code Here
break;
}
- break stops the code and moves it on to the next part
- default: helps debug your cod