Create Trial Problem C

I modified a non-object-oriented code to try and quickly tackle problem C (I believe that's what it's called). The code compiles just fine, but the program crashes before doing anything meaningful. Feel free to skip over it and hopefully detect any flaws with the logical structuring if you have the time.