Perhaps you should read up on the 'else' statement.
no, he should figure out what he's trying to do and do it. The structure he came up with is rubbish, with or without else statements, and should get him a major fail if he submitted it to his teachers.