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 ();
}
#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: "<
}
No comments:
Post a Comment