MY mENU


Wednesday, 21 March 2012

Addition of Two Numbers in C++

Addition of Two Numbers in C++:

#include
#include
void main ()
   {
        int a,b,c;
         clrscr ();
           cout <<" Enter A: ";
              cin >>a;
                cout <<" Enter B: ";
                   cin >>b;
                      c= a+b;
                        cout <<"\n Addition is: "<               getch ();
        }

No comments:

Post a Comment