About this topic
You will meet the other conditional statement, the switch by which you can find the searching result inside one of the many cases. It takes as an argument some expression that matches inside the curly braces which the statement has as part of its syntax, when the expression match with some case, the block code inside those case will execute. The switch case has the break and default keywords. When you reach the break keyword, it stops executing the next cases because it already succeeded the wanted one. The default is this case, where your expression goes when neither of the other corresponds to the expression. It is not necessary to include this keyword indifference with the break. To learn all of those things plus more useful ones well you should start this lesson.