#include<iostre am.h>
#include<conio. h>
#include<math.h >
void main()
{
float a,b,c,r1,d,r2,e ;
cout<<"\n enter the values of three no.s";
cin>>a>>b>>c;
d=(b*b)-(4*a*c);
e=sqrt(d);
r1=(-b+e)/(2*a);
r2=(-b-e)/(2*a);
cout<<"\n root1="<<r1;
cout<<"\n root2="<<r2;...
User Profile
Collapse
Leave a comment: