#includde<stdio.h> #include<math.h> { double a,b,c,x1,x2,p,q; scanf("%1f%1f%1f",&a,&b,&c); x1=(-b+sqrt(b*b-4*a*c))/2*a; x2=(-b-sqrt(b*b-4*a*c))/2*a; printf("%1f%1f",x1,x2); return 0; } /* Main.c:1:2: error: invalid preprocessing directive #includde #includde<stdio.h> ^ Main.c:3:1: error: expected identifier or '(' before '{' token { ^ */ |
Double click to view unformatted code.