x的范围最好不要设置#include <stdio.h>#include <math.h>int main(){ int a,b,c; scanf("%d%d%d",&a,&b,&c); double x=0.0,y=1.0; while( fabs(y-x)>=1e-5) { x=y; y=x-(axxxxx+bxx+c)/(5axxxx+2bx); } printf("%.2f",y);}