Addition of three numbers(inut by user)
#include<iostream.h>int main()
{
int num1,num2,num3,sum;
cout<<"\n"<<" Enter first number = ";
cin>>num1;
cout<<"\n"<<" Enter second number = ";
cin>>num2;
cout<<"\n"<<" Entera third number = ";
cin>>num3;
sum=num1+num2+num3;
cout<<"\n\n"<<" Sum = "<<sum;
system("pause");
return 0;
}