11 2020 档案

摘要:#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", &a, &b 阅读全文
posted @ 2020-11-20 13:01 shokuhou04 阅读(105) 评论(0) 推荐(0)
摘要:// ex1.cpp #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=ac/b 阅读全文
posted @ 2020-11-02 21:52 shokuhou04 阅读(69) 评论(0) 推荐(0)