How do I write this program with classes and methods?

Printable View