Paste
Pasted as C++ by registered user xujiayu ( 5 years ago )
,&a);
printf("\nnhap b : ");
scanf("%f",&b);
//buoc 2 xu ly
if(a == 0)
{
if(b == 0)
{
printf("\nvo so nghiem");
}
else
{
printf("\nvo nghiem");
}
}
else
{
float x = -b / a;
printf("\npt co nghiem x = %f",x);
}
getch();
return 0;
}
Revise this Paste
Children: 116982