Added code and comments.  Added if condition and then added the else if’s with their respective conditions.