Toggle navigation
Toggle navigation
This project
Loading...
Sign in
송재혁
/
gitbranch_assginment2
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
송재혁
2020-09-25 15:23:15 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
fd258a5c6a521545d4847f6f689623fbf10a297c
fd258a5c
1 parent
0e6af80b
echo program(exit included)
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
echo.cpp
echo.cpp
View file @
fd258a5
...
...
@@ -5,7 +5,11 @@ using namespace std;
int
main
()
{
string
input
;
cout
<<
"If you enter 'exit', the program will exit."
<<
endl
;
getline
(
cin
,
input
);
if
(
input
==
"exit"
)
return
0
;
else
cout
<<
"Input : "
<<
input
<<
endl
;
return
0
;
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment