Question: how to find roots of a function in c?
Answer: int main() { int a, b, c, d; double root1, root2; printf("Enter a, b and c where a*x*x + b*x + c = 0\n"); scanf("%d%d%d", &a, &b, &c); printf("First root = %.2lf\n", root1); printf("Second root = %.2lf\n", root2); }