- 博客(2)
- 收藏
- 关注
原创 如何在程序中输入多组数据?(C++)
#include<iostream> #include<bits/stdc++.h> using namespace std; int main() { int n; while(cin >> n)//这里可以添加条件比如输入0的时候停止输入 { cout << n << endl; } return 0; } ...
2022-04-05 16:32:42
2282
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人