#include #include #include #include int a,b,c; char x1,x2; main() { system("title PROGRAMA PARA SABER EL RESULTADO DE LA FORMULA GENERAL"); printf("\t\tPROGRAMA DE FORMULA GENERAL\n\n"); printf("Ingrese el Primer valor: "); scanf("%d",&a); printf("Ingrese el Segundo valor: "); scanf("%d",&b); printf("Ingrese el Tercer valor: "); scanf("%d",&c); x1=-b+sqrt(b*b-4*a*c)/(2*a); printf("El resultado de x1 es: %d",x1); x2=-b-sqrt(b*b-4*a*c)/(2*a); printf("\nEl resultado de x2 es: %d",x2); getch(); }