Toggle navigation
Toggle navigation
This project
Loading...
Sign in
서연진
/
echo
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
서연진
2021-03-29 20:55:14 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8d83ea11a948b6ed9a759566318c2f2a814e3e34
8d83ea11
1 parent
54758664
echo exit
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
echo_program/echo_program/echo.cpp
echo_program/echo_program/echo.cpp
View file @
8d83ea1
...
@@ -6,6 +6,9 @@ int main() {
...
@@ -6,6 +6,9 @@ int main() {
6
string
x
;
6
string
x
;
7
while
(
true
)
{
7
while
(
true
)
{
8
cin
>>
x
;
8
cin
>>
x
;
9
+
if
(
x
==
"exit"
)
{
10
+
break
;
11
+
}
9
cout
<<
x
<<
endl
;
12
cout
<<
x
<<
endl
;
10
}
13
}
11
return
0
;
14
return
0
;
...
...
Please
register
or
login
to post a comment