I have no clue what I'm doing wrong... plz help (C++)

I'm currently working on my C++ assignment and I can't see where my mistake is. My buddy tried to help me but neither of us can quite figure it out. Btw, I'm not allowed to use vectors in this program which I feel like would make it a lot easier. Any and all help will be very much appreciated.

instructions: http://imgur.com/a/DeWPI

sample output: http://imgur.com/a/7oO1N

my code: https://pastebin.com/kG1aKesY

edit: We cant use arrays either. This is the second assignment on using functions.

This is what MY code outputs: http://imgur.com/a/fxNKY

Posted Jul 16, 2017, 9:35 PM UTC · edited

112
Loading comments…