help this following code by using loops

Printable View