Rate this code on a scale from 1 - 10 and please suggest some improvements.

Printable View