We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c3988a commit e14b11dCopy full SHA for e14b11d
input.cpp
@@ -4,18 +4,18 @@
4
using namespace std;
5
6
int main() {
7
- int a;
8
- int n = 2;
+ int a;
+ int n = 2;
9
while(cin >> a){
10
cout << "Read number: " << a << endl;
11
if(--n == 0) break;
12
}
13
14
- string str;
15
- while(getline(cin, str)){
16
- cout << str << endl;
17
- }
18
- return 0;
+ string str;
+ while(getline(cin, str)){
+ cout << str << endl;
+ }
+ return 0;
19
20
21
/*
0 commit comments