Addation in c++
#include <iostream>
#include <conio.h>
using namespace std;
int main()
{
int a,b;
cout<<"enter the value of A and B "<<endl;
cin>>a>>b;
int sum = a+b;
cout<<"Sum = "<<sum;
getch();
return 0;
}
#include <conio.h>
using namespace std;
int main()
{
int a,b;
cout<<"enter the value of A and B "<<endl;
cin>>a>>b;
int sum = a+b;
cout<<"Sum = "<<sum;
getch();
return 0;
}
Comments
Post a Comment