How best to write this code? The goal - learning improvement.

Printable View