How can I make this program less wordy for eg. with structs and classes and function?

Printable View