0

this program is supposed to evaluate an equation of the form f(x)=ax2+bx2+c

using the standard quadratic formula to find x

This is what I've done so far

```
check=b*b-4*a*c;
//Validate incoming data
if (check>0)
{
x=-b+sqrt(b*b-4*a*c)/2*a;
printf("The square root is %.2f",x);
}
else
```

My question is how do I properly represent the quadratic formula using the order of precedence rules?