- Home
- Course Category
- Course Result
- Course Detail
Hot Line: 0124-2383121
Course Introduction
Programs for practice
In the program below, we've introduced beginers to programming in C++
Source Code: Add Two Numbers
/* C++ Program - Add Two Numbers */
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
int a, b, sum;
cout<<"Enter two number :";
cin>>a>>b;
sum=a+b;
cout<<"Sum of the two number is "<<sum;
getch();
}
Output
Enter two number : 5 3
Sum of the two number is 8