Toggle navigation
Toggle navigation
This project
Loading...
Sign in
정세호
/
mytest
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 18:48:22 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9a9cc13bed315b5769059937d76a09d9748f133f
9a9cc13b
0 parents
commit echo_program in A
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
echo_program.cpp
echo_program.cpp
0 → 100644
View file @
9a9cc13
#include <iostream>
#include <iomanip>
using
namespace
std
;
int
main
()
{
string
s
;
while
(
true
)
{
cout
<<
"if you enter 'exit', the program will exit: "
;
cin
>>
s
;
if
(
s
==
"exit"
)
{
break
;
exit
(
100
);
}
cout
<<
s
<<
endl
;
}
}
\ No newline at end of file
Please
register
or
login
to post a comment