Question: double Root 1 ( double a , double b , double c ) { double tmp = b * b - 4 * a *

double Root1(double a, double b, double c){ double tmp = b*b -4*a*c; return (-b + sqrt(tmp))/(2* a); } double Root2(double a, double b, double c){ double tmp = b*b -4*a*c; return (-b - sqrt(tmp))/(2* a); } int main(){ cout<<"Root1="<

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!