Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍준섭
/
gitbranch_assignment2
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
홍준섭
2020-09-25 21:26:00 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
99b2867c2b449913397ada23e23e07500b9096cc
99b2867c
1 parent
43453769
exit function added
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
echo.cpp
echo.cpp
View file @
99b2867
...
@@ -8,7 +8,10 @@ int main()
...
@@ -8,7 +8,10 @@ int main()
8
while
(
1
)
8
while
(
1
)
9
{
9
{
10
cin
>>
str
;
10
cin
>>
str
;
11
+
if
(
str
==
"exit"
)
12
+
break
;
11
cout
<<
str
<<
endl
;
13
cout
<<
str
<<
endl
;
14
+
12
}
15
}
13
16
14
return
0
;
17
return
0
;
...
...
Please
register
or
login
to post a comment