摘要: #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-15 14:11 颜嘉震 阅读(102) 评论(1) 推荐(0) 编辑
摘要: 1 #include <stdio.h> 2 int main() 3 { 4 int a=5,b=7,c=100,d,e,f; 5 d=a/b*c; 6 e=a*c/b; 7 f=c/b*a; 8 printf("d=%d,e=%d,f=%d\n",d,e,f); 9 return 0; 10 } 阅读全文
posted @ 2020-10-29 21:26 颜嘉震 阅读(93) 评论(1) 推荐(0) 编辑
摘要: 实验一: #include <stdio.h> int main() { printf("my stuno is:202083290327\n"); printf("2020,go on!\n"); return 0; } 实验二: #include <stdio.h> int main() { w 阅读全文
posted @ 2020-10-15 20:58 颜嘉震 阅读(57) 评论(1) 推荐(0) 编辑