Toggle navigation
Toggle navigation
This project
Loading...
Sign in
유재상
/
Git_Branch_Experiments_Echo_Program
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
유재상
2022-04-01 07:12:37 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6639eeda3d9ee533783f4e5047494e908a5b423e
6639eeda
1 parent
c9830ffc
echo_program_exit.cpp added
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
echo_program_exit.cpp
echo_program_exit.cpp
0 → 100644
View file @
6639eed
#include <iostream>
#include <string>
using
namespace
std
;
int
main
()
{
string
str1
;
cin
>>
str1
;
if
(
str1
==
"exit"
)
{
exit
(
0
);
}
cout
<<
str1
<<
endl
;
return
0
;
}
\ No newline at end of file
Please
register
or
login
to post a comment