Others Program to add two numbers in CPP #include using namespace std; int main(int argc, char **argv) { int x,y; cin >> x >> y; cout << x+y; return 0; }

Program to add two numbers in CPP #include using namespace std; int main(int argc, char **argv) { int x,y; cin >> x >> y; cout << x+y; return 0; }


Others
KARTHIK
0 0 137
5 months ago

Program to add two numbers in CPP

#include <iostream>
using namespace std;

int main(int argc, char **argv)
{
	int x,y;
    cin >> x >> y;
    cout << x+y;
	return 0;
}

SHRIRAM
0 0 44
3 months ago

what have u done man,i can do it in more smaller version in haskell.
NIRANCHANA M
0 0 427
1 month ago

hoe to include decimal precision for the digit x in cpp?
NIKHIL R
0 0 1081
1 month ago

you can use setprecision in c++
MAGESHWARAN S
0 0 411
4 weeks ago

nice
RAGUL
0 0 99
3 weeks ago

#include <iostream>
 
using namespace std;
 
int main()
{
   int a, b, c;
   
   cout << "Enter two integers to add\n";
   cin >> a >> b;
 
   c = a + b;
   cout <<"Sum of the numbers: " << c << endl;
   
   return 0;
}