Find the syntax error in the following code: main()
{ int a, b :
cin >> a >> b;
cout << a + b,
}
Share
Find the syntax error in the following code: main()
{ int a, b :
cin >> a >> b;
cout << a + b,
}
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
int main()
{int a,b;
cin>>a>>b;
cout<<a+b;
}