>>34
いいんですかね?

一応その時の授業で使っていたプログラムが下記の物なのですが

#include<stdio.h>
#include<conio.h>
void main(void)
{ float a,b,c,d,bunbo;
float x,x1,x2;
scanf("%f%f%f",&a,&b,&c);
d=b*b-4.0*a*c;
bunbo=2.0*a;
if(d>0.0)
{ x1=(-b+sqrt(d))/bunbo;
x2=(-b-sqrt(d))/bunbo;
printf("x1=%f\n",x1);
printf("x2=%f\n",x2);
}
else if(d==0.0)
{ x=(-b)/bunbo;
printf("x=%f\n",x);
}
else
{ printf("実根は存在しない"); }
}

これはまだ不完全でこれを直してどうのこうのとか