#include <iostream.h>
void main()
{
float a,b,c,d,e,f;
int n;
c=0;
cout<<"inter the first number: ";
cin>>a;
cout<<"\n";
cout<<"inter the second number: ";
cin>>b;
cout<<"\n"<<"-------------------------------------"<<"\n";
cout<<"1_"<<" "<<"zarb"<<"\n";
cout<<"2_"<<" "<<"jam"<<"\n";
cout<<"3_"<<" "<<"tafrigh"<<"\n";
cout<<"4_"<<" "<<"taghsim"<<"\n";
cout<<"\n";
cout<<"Please select an option: ";
cin>>n;
cout<<"-------------------------------------"<<"\n";
if(n<=1)
{
c=a*b;
cout<<"javab zarb: "<<c;
}
else
{
if(n<=2)
{
d=a+b;
cout<<"javab jam: "<<d;
}
else
{
if(n<=3)
{
e=a-b;
cout<<"javab tafrigh: "<<e;
}
else
{
if(n<=4)
{
f=a/b;
cout<<"javab taghsim: "<<f;
}
}
}
}
}