j

Monday, 2 November 2015

Write a program that take two numbers form user and perform all arithmetic opreation



#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
int a,b;
cout<<"Enter two number ::";
cin>>a>>b;
cout<<a+b<<endl;
cout<<a-b<<endl;
cout<<a*b<<endl;
cout<<a/b<<endl;
cout<<a%b<<endl;
getch();
}

Subscribe to this Blog via Email :