摘要: #include <stdio.h> main() { int i,a[100],c=0; char s; for (i=0;i<100&&s!='\n';i++) //最大输入100个数,遇到回车就终止循环 { scanf("%d",a+i); s=getchar(); //s用来接收是否是回车 阅读全文
posted @ 2020-10-13 16:52 一只小花花呀 阅读(879) 评论(0) 推荐(0)