C++ Default Calculator program in Main function
#include<iostream.h>
#include<conio.h>
void main()
{
int a=2;
int b=3;
gotoxy(26,15);
cout<<"Add = "<<a+b;
gotoxy(26,16);
cout<<"sub = "<<a-b;
gotoxy(26,17);
cout<<"mult = "<<a*b;
gotoxy(25,18);
cout<<"divide = "<<a/b;
getch();
}