#include<iostream>
#include<math.h>
using namespace std;
int main()
{
//sqrt{A+C*(D*E) /(F+G) * (H*J)}-C
string N;
int A,C,D,E,F,G,H,J;
float x,y,z,m,n;
cout<<"Enter the user name: ";
cin>>N;
cout<<"Enter the value of A: ";
cin>>A;
cout<<"Enter the value of C: ";
cin>>C;
cout<<"Enter the value of D: ";
cin>>D;
cout<<"Enter the value of E: ";
cin>>E;
cout<<"Enter the value of F: ";
cin>>F;
cout<<"Enter the value of G: ";
cin>>G;
cout<<"Enter the value of H: ";
cin>>H;
cout<<"Enter the value of J: ";
cin>>J;
x=A+C*(D*E);
y=(F+G)*(H*J);
z=x/y;
m=pow(z,0.5);
n=m-C;
cout<<"The result is: "<<n;
}
Comments
Leave a comment