#include <iostream> using namespace std; int main() { cout<< "Alcacer 2 goals, CR7 1 goal"; cout<< "CR7 is old like Chi | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

#include <iostream> using namespace std; int main() { cout<< "Alcacer 2 goals, CR7 1 goal"; cout<< "CR7 is old like Chi

errors

8th Nov 2017, 10:27 AM
EGENTI PRECIOUS C.
EGENTI PRECIOUS C. - avatar
3 Answers
+ 17
#include <iostream> using namespace std; int main() { cout<< "Alcacer 2 goals, CR7 1 goal"; cout<< "CR7 is old like Chi " ; cout<<" you forgot a semicolon in above line in ur code"; cout<< "you didn't use any variables" ; cout<<" you forgot curly brace to end the code" ; cout<< "CR7 is the best" ; }
8th Nov 2017, 10:31 AM
Frost
Frost - avatar
+ 8
There is no double quote and semicolon at the end.
8th Nov 2017, 10:29 AM
qwerty
qwerty - avatar
+ 8
No closing curly braces and return 0;
8th Nov 2017, 10:30 AM
qwerty
qwerty - avatar