I am new at C++ and my program is erroring part way through it

Printable View