Hey! The above document had some coding errors(3) which are explained below: