Toggle navigation
Toggle navigation
This project
Loading...
Sign in
김우재
/
20180330
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
김우재
2018-03-30 18:55:50 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
27f9de25a6e2cda07cfd9c017ffcfef4d7ab4827
27f9de25
1 parent
d9312fcc
Yes exit
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
echo.cpp
echo.cpp
View file @
27f9de2
...
@@ -5,6 +5,9 @@ int main(){
...
@@ -5,6 +5,9 @@ int main(){
5
int
n
=-
1
;
5
int
n
=-
1
;
6
while
(
1
){
6
while
(
1
){
7
cin
>>
n
;
7
cin
>>
n
;
8
+
if
(
n
==
0
){
9
+
return
0
;
10
+
}
8
cout
<<
n
<<
endl
;
11
cout
<<
n
<<
endl
;
9
}
12
}
10
}
13
}
...
...
Please
register
or
login
to post a comment