I think the original poster worked it out, but I didn’t copy the whole thread over correctly. Sorry.
I recommend learning to
write code differently from a letter. I am surprised there wasn’t a warning before attempted compiling, and that the
IDE didn’t insert the {} correctly paired automatically. I would also recommend you don’t use an IDE if you are still at the beginner’s stage.