You are on page 1of 1

#include<iostream.h> #include<conio.h> #include<math.

h> void main() { float a,b,c,d; float e; cout<<"\n Enter values of a,b:"<<endl; cin>>a>>b; c=a-b; d=a*b; e=a/b; cout<<"Difference ="<<c<<endl; cout<<"Product="<<d<<endl; cout<<"Division ="<<e<<endl; getch(); }

You might also like