上一页 1 ··· 43 44 45 46 47
摘要: #include #include #define NUM 500int main(void){ int a,b,c,i,j; for(a=1;a=c) { printf("亲密数为:(%d,%d)\n",a,b); } }} 阅读全文
posted @ 2017-03-26 11:24 marsggbo 阅读(149) 评论(0) 推荐(0)
摘要: #include #include int main(void){ double a,x1=1.0,x2; printf("please input a number:\n"); scanf("%lf",&a); x2=x1; x1=0.5*(x1+a/x1); for(;fabs(x1-x2)>... 阅读全文
posted @ 2017-03-26 11:24 marsggbo 阅读(273) 评论(0) 推荐(0)
上一页 1 ··· 43 44 45 46 47