11 2020 档案

摘要:任务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",&a, 阅读全文
posted @ 2020-11-20 14:17 铁盒半岛 阅读(96) 评论(0) 推荐(0)
摘要:任务1 //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; } 阅读全文
posted @ 2020-11-06 12:53 铁盒半岛 阅读(58) 评论(0) 推荐(0)