Toggle navigation
Toggle navigation
This project
Loading...
Sign in
양효빈
/
assign2
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 15:46:38 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5361993d80a8b2cad680e06be6c5013105229a70
5361993d
0 parents
Commit exit.cpp
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
exit.cpp
exit.cpp
0 → 100644
View file @
5361993
#include <iostream>
#include <string>
using
namespace
std
;
int
main
()
{
string
s
;
cin
>>
s
;
if
(
s
==
"exit"
)
exit
(
0
);
else
cout
<<
s
;
return
0
;
}
\ No newline at end of file
Please
register
or
login
to post a comment