Tuesday, 24 February 2015

Addition of Two Numbers using C++

/*
Sample Program For Addition Of Two Numbers
==========================================
*/

#include<iostream.h>
#include<conio.h>
main()
{
int a;
clrscr();
cout<<"\n Enter Number1 :";
cin>>a;

int b;
cout<<"\n Enter Number2 :";
cin>>b;

cout<<"\n Addition is "<<(a+b);
getch();
}

No comments:

Post a Comment