Sunday, 27 November 2011

C++ Program For Add Two Number And Print Sum Of Them


#include<iostream.h>
#include<conio.h>
void main()
 {

   int a,b,c;
   cout<<"Enter 1st value";
   cin>>a;
   cout<<"Enter 2nd value";
   cin>>b;
   c=a+b;
   cout<<c;
   getch();
 }

No comments:

Post a Comment