Missing semicolon or comma? | Sololearn: Learn to code for FREE!

0

Missing semicolon or comma?

When I run the code, it says there might be a missing cons out semicolon behind my cout << "Ask me any yes or no question!". Can someone tell me what's going on? Here's the code: https://code.sololearn.com/cQC1n3Ph8RCN/?ref=app

c++

9/8/2019 3:38:52 AM

Thomas Wald

5 Answers

New Answer

+10

You just forgot to add a semicolon on line 8, which is why it was telling you you forgot it before the cout statement on line 10

+1

Fuzzy Squid thanks!

0

Faisal thanks it worked, but how come I need to put a semicolon in front of curly braces?