Toggle navigation
Toggle navigation
This project
Loading...
Sign in
김성원
/
OSS_subject4
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-12-20 21:24:52 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
415286d1209c37c865faa996b386aa2475b6ed87
415286d1
1 parent
3dc4b986
If you enter 'exit', the program will exit
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
echo.cpp
echo.cpp
View file @
415286d
...
...
@@ -4,7 +4,16 @@ using namespace std;
int
main
()
{
string
echo
;
getline
(
cin
,
echo
);
cout
<<
echo
;
while
(
1
)
{
getline
(
cin
,
echo
);
cout
<<
echo
<<
endl
;
if
(
echo
==
"exit"
)
{
break
;
}
}
}
...
...
Please
register
or
login
to post a comment