```c
#include <math.h>
#include <stdio.h>

int main() {
        double a = 1.0;
        double b = -3.0;
        double c = 2.0;

        double discriminant = b*b - 4*a*c;
        double sq_disc = sqrt(discriminant);

        double result1 = (-b + sq_disc) / (2*a);
        double result2 = (-b - sq_disc) / (2*a);

        printf("Roots of %fx^2 + %fx + %f are\n", a, b, c);
        printf("%f\n", result1);
        printf("%f\n", result2);
}
```
```c
#include <math.h>
#include <stdio.h>

int main() {
        double a = 1.0;
        double b = -3.0;
        double c = 2.0;

        double discriminant = b*b - 4*a*c;
        double sq_disc = sqrt(discriminant);

        double result1 = (-b + sq_disc) / (2*a);
        double result2 = (-b - sq_disc) / (2*a);

        printf("Roots of %fx^2 + %fx + %f are\n", a, b, c);
        printf("%f\n", result1);
        printf("%f\n", result2);
}
```