摘要:#include<stdio.h> int func(int, int); int main() { int k=4,m=1,p1,p2; p1=func(k,m) ; p2 = func(k,m) ; printf("%d,%d\n",p1,p2); return 0;} int func(int 阅读全文
posted @ 2020-12-04 18:11 新西兰小花猪 阅读(1) 评论(0) 推荐(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,&c)!=EOF 阅读全文
posted @ 2020-11-19 23:23 新西兰小花猪 阅读(16) 评论(0) 推荐(0) 编辑
摘要:#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; } lin6: 5/7=0,0*100=0 l 阅读全文
posted @ 2020-10-31 10:31 新西兰小花猪 阅读(25) 评论(1) 推荐(0) 编辑
摘要:#include<stdio.h> int main(){ printf("my stuno is:202083450042\n"); printf("2020,like u\n"); return 0; } #include<stdio.h> int main(){ while (1) print 阅读全文
posted @ 2020-10-17 14:33 新西兰小花猪 阅读(13) 评论(0) 推荐(0) 编辑