Toggle navigation
Toggle navigation
This project
Loading...
Sign in
장재훈
/
2020_04_03_Assignment_2
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-04-03 23:14:16 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
19ee3c70b2cc289f229c544c47602e707a09b96e
19ee3c70
1 parent
5faffe3c
exit.cpp Added
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
exit.cpp
exit.cpp
0 → 100644
View file @
19ee3c7
1
+
#include <iostream>
2
+
#include <string>
3
+
using
namespace
std
;
4
+
5
+
string
s
;
6
+
int
main
()
{
7
+
while
(
true
)
{
8
+
cout
<<
"Enter sentence : "
;
9
+
cin
>>
s
;
10
+
if
(
s
==
"exit"
)
{
break
;
}
11
+
}
12
+
return
0
;
13
+
}
...
\ No newline at end of file
...
\ No newline at end of file
Please
register
or
login
to post a comment