also it says on the first line which it reads as line 29
Error 8 fatal error C1004: unexpected end-of-file found c
I did this program following examples of similar ones in class, and the teacher hasn't shown any use or examples of needing to input these various things that the error lists states. If anyone could help me out, I'd definitely appreciate it. thanks