Different approach to this code

Printable View