Toggle navigation
Toggle navigation
This project
Loading...
Sign in
황지민
/
gitbranch-assignment2
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
jimin
2020-04-03 19:46:35 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f8c08cae09367ca7e867b8e58d25b8216a7387ea
f8c08cae
1 parent
1ceb97b2
If you enter 'exit', the program will exit
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
hello.c
hello.c
View file @
f8c08ca
...
@@ -4,7 +4,11 @@
...
@@ -4,7 +4,11 @@
4
4
5
5
6
int
main
(){
6
int
main
(){
7
+
whlie
(
1
)
{
7
string
a
;
8
string
a
;
8
-
cin
>>
a
;
9
+
cin
>>
a
;
9
-
cout
<<
a
;
10
+
cout
<<
a
;
11
+
if
(
a
==
exit
)
12
+
break
;
//exit
13
+
}
10
}
14
}
...
\ No newline at end of file
...
\ No newline at end of file
...
...
Please
register
or
login
to post a comment