How do you write a C program to solve quadratic equation