My photo
Bangalore, Karnataka, India
Extending one hand to help someone has more value rather than joining two hands for prayer

Archives

sum of two numbers

Tuesday, September 1, 2009

#include<iostream.h>
#include<conio.h>
void main()
{
 int a,b,sum;
 clrscr;
 cout<<"enter the value of a";
 cin>>a;
 cout<<"enter the value of b";
 cin>>b;
 sum=a+b;
 cout<<"sum=";
 cout<<sum;
 getch();
 }

0 comments: