11 2020 档案

摘要:实验1 返回值只有一个,但是根有两个,所以不能 实验2 #include <stdio.h> long long fac(int n); int main() { int i,n; printf("Enter n: "); scanf("%d", &n); for(i=1; i<=n; ++i) p 阅读全文
posted @ 2020-11-29 11:21 阿周飞 阅读(57) 评论(2) 推荐(0)
摘要:实验1#include <math.h> #include <stdio.h> int main() { float a, b, c, x1, x2; float delta, real, imag; printf("Enter a, b, c: "); while(scanf("%f%f%f", 阅读全文
posted @ 2020-11-16 10:24 阿周飞 阅读(95) 评论(0) 推荐(0)
摘要:实验一include <stdio.h> int main() { int a=5, b=7, c=100, d, e, f; d = a/b*c; e = a*c/b; f = c/b*a; printf("d=%d, e=%d, f=%d\n",d,e,f); return 0} 实验总结:d= 阅读全文
posted @ 2020-11-01 10:07 阿周飞 阅读(94) 评论(0) 推荐(0)