Selection control flow

These statements are pretty much the same as Java or C#

if statement

This number 11 is a odd number

else if statement

This part will not work without a URL parameter Click here for an URL example. You can change the number in the URL and see the result.

Income: 21000; Tax rate: 0.25

Tax: 5250

switch statement

A is Great. A+ is better!