#include <stdio.h>
void main()
{
int a, b, c;
char flag = 'n';
do
{
printf("please input 二次方程的a,b,c");
scranf("a=%d, b=%d, c=%d", &a, &b, &c);
if (b * b - 4 * a * c < 0)
{
printf("无解\n\n");
}
else
{
printf("有解\n\n");
}
printf("Do you want to continue? y/n : ");
scanf("%c", &flag);
}while(flag == 'y');
}