Trend Micro Inc. Interview Question

find errors in the program