Contents
hide
Add Two Numbers in CPP
#include<iostream>
using namespace std;
int main()
{
int x, y, sum;
cout<<” Enter Two Numbers for Addition”<<endl;
cin>>x>>y;
sum = x + y;
cout<< “Sum of Two Numbers is”<<“n”<<sum;
return 0;
}
___________________________
For output see the video