11 2020 档案

摘要:#include<stdio.h> #include<math.h> int main(){ float a,b,c,x1,x2; float delta,real,imag; printf("Enter a,b,c: "); while(scanf("%f%f%f",&a,&b,&c)!=EOF) 阅读全文
posted @ 2020-11-20 12:22 salaheihei 阅读(91) 评论(1) 推荐(0) 编辑
摘要://实验2.1 #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等于a除以b再乘c,e等于 阅读全文
posted @ 2020-11-05 23:33 salaheihei 阅读(175) 评论(1) 推荐(0) 编辑