摘要: #include<stdio.h> #include<math.h> //统计给定的n个数中,负数、零和正数的个数。 int main1() { int n; while(scanf("%d",&n)!=EOF) { if(n == 0) break; int fu = 0,zero = 0 ,zh 阅读全文
posted @ 2020-09-11 20:53 Akmf's_blog 阅读(144) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h> #include<math.h> //输入三个字符后,按各字符的ASCII码从小到大的顺序输出这三个字符。 int main1() { char a,b,c; char tmp; while(scanf("%c%c%c",&a,&b,&c)!=EOF) { get 阅读全文
posted @ 2020-09-11 19:47 Akmf's_blog 阅读(80) 评论(0) 推荐(0) 编辑