Not a statement?

I’m struggling with the Mad Lib project. Compiler is showing three errors. Two of them are -

“ error: ‘;’ expected”

The third error is

" error: not a statement

Please help.

can you share it in a Codebyte? It’s easier to troubleshoot if I can run it, or at the very least copy and paste it to an editor.

Towards the end of your story string, you have a name1 with no ++
That may be part of it.