I'm needing a flow chart for this program and would really appreciate the help. Please let me know if more information is needed.
{
double x3,x1,x2,xs,f1,f2,f3,M1,theta;
int iter=0;
cout << "Please enter the Mach number, followed by the
deflection angle (in degrees)." << endl;
cin>>M1>>theta;
theta = theta*M_PI/180;
x1=.5*M_PI/180;
x2=64*M_PI/180;
f1=fun(x1,M1,theta);
f2=fun(x2,M1,theta);
if((f1*f2)>0)
{
cout<<"\nThis combination of mach number and angle of
deflection produce a detached shock. Please try again with a higher
mach number or a lower angle of deflection.\n";
}
else
{
do
{
xs=x3;
x3=x1-(f1*(x2-x1))/(f2-f1);
f3=fun(x3,M1,theta);
iter++;
if((f1*f3)<0)
x2=x3;
else
x1=x3;
f1=fun(x1,M1,theta);
f2=fun(x2,M1,theta);
}while(fabs(fun(x3,M1,theta))>=TOL);//Terminating case
}
double Mn1=M1*sin(x3);
double
Mn2=sqrt((1+(.2*(pow(Mn1,2))))/((1.4*(pow(Mn1,2)))-.2));
double M2=Mn2/sin(x3-theta);
cout<<"\n";
cout<<"The exit mach number is:
"<<M2;
return 0;
}
BLOCKS CREATED FOR "fun(double, double, double)" ARE SAME IN THE COMPLETE FLOW DIAGRAM . IT IS CREATED TWICE JUST BECAUSE PAGE SIZE DO NOT PERMIT TO CREATE THE FLOW CHART AT ONE PLACE .
A, B, AND C ARE CALLED CONNECTORS USED TO FACILITATE US
IN CASE WE WISH TO SHIFT OUR FLOW DIAGRAM FROM ONE PAGE TO ANOTHER
TO PROVIDE CLEAN PICTORIAL VIEW.

I'm needing a flow chart for this program and would really appreciate the help. Please let...