I'm trying to work with the data in nested loops and can't get it to work. I don't know how to use class and constructors. Any help is appreciated.

The code below prompts for all of the data, but...