Sum two numbers | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Sum two numbers

I had done it but it was shown as error can you please correct it

19th Dec 2017, 1:12 PM
Jayanth S
Jayanth S - avatar
4 Answers
+ 6
Your question is incorrect, please enclose your code so that people can answer your question :)
19th Dec 2017, 1:15 PM
James16
James16 - avatar
+ 5
plz justify the question completely , your question is incomplete Or if you are talking about your code sum then , #include <iostream> using namespace std; int main() { int a,b,c; cout<<"enter the two numbers"; cin>>a>>b; c=a+b; cout<<"the sum is "<<c; return 0; } // this was missing
19th Dec 2017, 1:13 PM
RZK 022
RZK 022 - avatar
+ 4
I have written the code above
19th Dec 2017, 1:33 PM
RZK 022
RZK 022 - avatar
0
write a program to find the sum of two numbers
19th Dec 2017, 1:21 PM
Jayanth S
Jayanth S - avatar