11 2020 档案
摘要:// 一元二次方程求解 (函数实现方式) // 重复执行, 直到按Ctrl+Z结束 #include <math.h> #include <stdio.h> // 函数声明 void solve(double a, double b, double c); // 主函数 int main() { d
阅读全文
摘要:#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,
阅读全文
摘要:/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
阅读全文
浙公网安备 33010602011771号