【资料图】
1、int main() { float a; float x; int i=100; scanf("%f",&a); x=a/2; while(i--) { x=(x+a/x)/2; } printf("%f",x); }。
本文到此分享完毕,希望对大家有所帮助。