This is part of a lesson - an example to demonstrate conditional - if/then/else. It is one of many examples that get progressively complex.