私信TA
用户名:1360
访问量:10889
签 名:
自我简介:
作者: qds 发表时间:2017-06-16 11:00:54 浏览:836 | 评论:0
#include "stdio.h"#include "math.h"main(){ float a; float x=1,x1; scanf("%f",&a); while(fabs(x-x1)>0.00001) { x1=x; x=(x1+a/x1)/2; } printf("%.3f",x);}
0.0分
0 人评分