摘要:
#include <stdio.h> //求s=1+2+3+4+...+100 main() { int a=101,【1】; while(【2】,a>0) s【3】=【4】; printf("s=%d",s); getchar(); } #include <stdio.h> //求s=1+2+3+ 阅读全文
posted @ 2023-02-10 09:20
myrj
阅读(42)
评论(0)
推荐(0)
摘要:
#include <stdio.h> //执行下列程序段后,y的值是(),x的值是(), m的值是(),n的值是() main() { int x,y,z,m,n; m=10;n=5; x=(--m==n++)?--m:++n; y=m++; getchar(); } #include <stdio 阅读全文
posted @ 2023-02-10 08:50
myrj
阅读(65)
评论(0)
推荐(0)
摘要:
#include <stdio.h> //求两个数中的最大值 int max(int a,int b) { return 【1】; } main() { int a,b; scanf("%d%d",【2】); printf("max=%d",【3】); getchar(); } #include < 阅读全文
posted @ 2023-02-10 08:32
myrj
阅读(245)
评论(0)
推荐(0)

浙公网安备 33010602011771号