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, & 阅读全文
posted @ 2020-11-19 22:17 DyweR 阅读(103) 评论(1) 推荐(0)
摘要:// ex1.cpp #include <stdio.h> int main() { int a=5, b=7, c=100, d, e, f; d = a/b*c, //d=(a与b的取整商)*c e = a*c/b, //e=(a*c)与b的取整商 f = c/b*a; //f=(c与b的取整商 阅读全文
posted @ 2020-11-05 13:34 DyweR 阅读(96) 评论(2) 推荐(0)