Aug 28, 2015

program in C++ to find Sum of two num

#include<iostream.h>
#include<conio.h>
void main()
{
int num1,num2,sum;
clrscr();
cout<<"Enter the two num : ";
cin>>num1>>num2;
sum=num1+num2;
cout<<"The sum of two nums are :"<<sum<<endl;
getch();
}

No comments:

Post a Comment