11 2020 档案

摘要:// 一元二次方程求解 (函数实现方式) // 重复执行, 直到按Ctrl+Z结束 #include <math.h> #include <stdio.h> // 函数声明 void solve(double a, double b, double c); // 主函数 int main() { d 阅读全文
posted @ 2020-11-29 16:50 123zmx 阅读(133) 评论(2) 推荐(0)
摘要:#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-14 19:01 123zmx 阅读(96) 评论(2) 推荐(0)
摘要:/iyan1 #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; } /iyam2 #i 阅读全文
posted @ 2020-11-01 10:20 123zmx 阅读(146) 评论(2) 推荐(0)
摘要:恢复内容开始 null 恢复内容结束 阅读全文
posted @ 2020-11-01 10:08 123zmx 阅读(30) 评论(0) 推荐(0)