lab3_119

Run Settings
LanguageC++
Language Version
Run Command
#include <iostream> #include <math.h> using namespace std; int main() { int x,y,z,max,min; cout << "Input x,y and z values:"<<endl;// to store numbers cin>>x>>y>>z; //checking for bigger numbers if((x>y && y>z)) { max=x; min=z; cout<<"Result :"<<(pow(max,2)-pow(2,x))/(sin(2*x)+(max/min))<<endl; } else if(x>z && z>y) { max=x; min=y; cout<<"Result :"<<(pow(max,2)-pow(2,x))/(sin(2*x)+(max/min))<<endl; } else if(y>z && z>x) { max=y; min=x; cout<<"Result :"<<(pow(max,2)-pow(2,x))/(sin(2*x)+(max/min))<<endl; } else if(z>y && y>x) { max=z; min=x; cout<<"Result :"<<(pow(max,2)-pow(2,x))/(sin(2*x)+(max/min))<<endl; } else if(y>x && x>z) { max=y; min=z; cout<<"Result :"<<(pow(max,2)-pow(2,x))/(sin(2*x)+(max/min))<<endl; } return 0; }
Editor Settings
Theme
Key bindings
Full width
Lines