If...Else




This example demonstrates the If...Else statement.

If the time on your browser is less than 10, you will get a "Good morning" greeting. Otherwise you will get a "Good day" greeting.



Switch




This example demonstrates the switch statement.

You will receive a different greeting based on what day it is.




While Loop, "Assignment 36"




For Loop, "Assignment 35"

Counting now...
...and we're done