This page demistrates "if" statements and how they can be used.
What can be used in an "if" Statement:
Used to join statements inside of an "if" Statement:
Don't forget curly braces ({}) when you have more than one statement in your "if"!
Enter a number between one and ten!
Enter a number (i.e 2):
*Note: Since you only have one line of code under the "if" you DO NOT need curly braces ({}).
Enter the number one: