TronicsZone Interview Question

Debug the following code and point out errors