摘要: 在不知道需要输入多少个数,每个数之间有个空格,当输入换行时结束,如何进行读入操作。#include #include using namespace std;int a[150];int main(){ int n; char op; while(~... 阅读全文
posted @ 2018-08-26 18:40 Mercury_Lc 阅读(83) 评论(0) 推荐(0)
摘要: 在不知道需要输入多少个数,每个数之间有个空格,当输入换行时结束,如何进行读入操作。#include #include using namespace std;int a[150];int main(){ int n; char op; while(~... 阅读全文
posted @ 2018-08-26 18:40 Mercury_Lc 阅读(91) 评论(0) 推荐(0)