11 2020 档案

摘要:任务一 //一元二次方程求解 //重复执行,直到Ctrl+Z结束 // #include<math.h> #include<stdio.h> int main(){ float a,b,c,x1,x2; float delta,real,imag; printf("Enter a,b,c: "); 阅读全文
posted @ 2020-11-18 22:08 小尹弟弟 阅读(138) 评论(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); retu 阅读全文
posted @ 2020-11-02 20:21 小尹弟弟 阅读(182) 评论(0) 推荐(0)