Toggle navigation
Toggle navigation
This project
Loading...
Sign in
김다희
/
EchoProgram
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
김다희
2019-03-29 23:11:59 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
07f7974b2e6ab41e43327dbd10421596de94ab5b
07f7974b
1 parent
e92ed331
AddExitFunction
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
소스-1.cpp
소스-1.cpp
View file @
07f7974
#include<iostream>
#include<string>
using
namespace
std
;
int
main
()
{
cout
<<
"
숫자를 입력해주세요"
;
int
a
;
cout
<<
"
ÀÔ·Â : "
<<
endl
<<
"(if you enter 'exit', the program will exit)
"
;
string
a
;
cin
>>
a
;
cout
<<
"출력 : "
<<
a
;
if
(
a
==
"exit"
)
{
return
0
;
}
else
{
cout
<<
"Ãâ·Â : "
<<
a
;
}
return
0
;
}
...
...
Please
register
or
login
to post a comment