Question

Based on the code given in Table 6, a) Identify and fix the 4 errors in the code by writing the corrected statement in Table 7. b) Assuming the errors are fixed, what is the output of the code?

Fig: 1

Fig: 2

Fig: 3

Fig: 4

Fig: 5