Friday, 16 September 2016

Adding of two numbers



#include < iostream.h >
int main()
{
int first, second, sum;

cout<<"Enter two integers to add\n";
cin>>first>>second;

sum = first + second ;

cout<<"Sum of entered numbers ="<<sum<<"\n";

return 0;
}

No comments:

Post a Comment