[Error] expected ';' before string constant

I'm new in C++. I don't know where mistake was and how to change please help me!
1
2
3
4
5
6
7
8
9
#include <iostream>
#include <conio.h>

using namespace std;
int main()
{
	int a=10,b=20;
	cout<<"Tong cua "<<a<<"+"<<b"="<<(a+b);
}
Last edited on
cout<<"Tong cua "<<a<<"+"<<b <<"="<<(a+b);

Also, you do not need to include conio.h.
Thanks so much. I understood
Topic archived. No new replies allowed.