(Solved) : Wants Make Improvments Code Include Include Using Namespace Std Int Main Char R Float C Nu Q42737043 . . .

wants to make an improvments on this code below :

#include<iostream>
#include<cmath>
using namespace std;
int main()
{
char R;
float c,num,Req , sum=0 ,A ,V , I,i,F;
cout<<“Enter P for parallel circuits S forSeries circuits: “;//user chose the type of circuit
cin>>R;

if(R==’s’||R==’S’)
{
cout<<“Enter number of Resistances :”;// number ofResistances in series
cin>>num;

for (i=1;i<=num;i++)
{
cout<<“Enter Resistancesnumber”<<i<<” :”;// The value of Resistances inseries
cin>> A;
Req=Req+A;

}
cout<<“Resistances valeu is :”<<Req<<endl;// the equavelant Resistance inseries
}

else if (R==’p’||R==’P’)
{
cout<<“Enter number ofResistances: “;// number of Resistances in parallel
cin>>num;

for (i=1;i<=num;i++)
{
cout<<“Enter Resistancesnumber”<<i<<” :”;//The value of Resistances inparallel
cin>>sum;
sum=(1/sum);
A=A+sum;
Req=(1/A);

}
cout<<endl<<” Req “<<Req<<endl;
}
cout<<“Enten volteg value =”;//voltegvalue
cin>>V;

I=(V/Req);

cout<< “current is:”<<I<<endl;;//The current value

cout<< “current used in medical diveces:”;
cin>>i;

F=(I-i);

//show the effect of current flow
{
if (F<=0.01)

cout<<“the amount of currentflow normal”;

else if (F<=0.025)

cout<<“the amount of currentflow may cause no syndrome”;

else if (F<=0.050)

cout<<“the amount of currentflow may cause high pressure starts to show or fainting”;

else if (F>=0.060)

cout<<“the amount of current flow may causedying”;

}

}

Answer to wants to make an improvments on this code below : #include #include using namespace std; int main() { char R; float c,nu…