Sum of two numbers taken by user

                 a simple program to add two numbers


#include<iostream.h>
#include<conio.h>
void main()
{clrscr();
cout<<"enter two numbers ";
int x,y, r;
cin>>x>>y;
r=x+y;
cout<<"the sum = "<<r;
getch();
}





Comments

Popular Posts