Write a program to add two number
#include<iostream>
using namespace std;
int main()
{ int a,b;
cout<<"enter the value of a: ";
cin>>a;
cout<<"enter the value of b: ";
cin>>b;
cout << "sum = "<<a+b;
return 0;
}
Write a program to add two number
#include<iostream>
using namespace std;
int main()
{ int a,b;
cout<<"enter the value of a: ";
cin>>a;
cout<<"enter the value of b: ";
cin>>b;
cout << "sum = "<<a+b;
return 0;
}