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

8th Sep 2019, 3:38 AM
Thomas Wald
Thomas Wald - avatar
5 Respostas
+ 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
8th Sep 2019, 3:44 AM
Faisal
Faisal - avatar
+ 1
Fuzzy Squid thanks!
8th Sep 2019, 7:33 PM
Thomas Wald
Thomas Wald - avatar
0
Faisal thanks it worked, but how come I need to put a semicolon in front of curly braces?
8th Sep 2019, 4:48 PM
Thomas Wald
Thomas Wald - avatar