Toggle navigation
Toggle navigation
This project
Loading...
Sign in
윤동주
/
remote
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-10-04 15:42:33 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
eedc5e706b00d8d493a9f443f1181c2b9d4dd603
eedc5e70
1 parent
293fc152
fuction push
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
fuction1.txt
fuction1.txt
0 → 100644
View file @
eedc5e7
1
+
int square(int a); //함수 선언
2
+
3
+
int main()
4
+
{
5
+
int x;
6
+
cin >> x;
7
+
cout << square(x) << endl; // square 함수 사용
8
+
}
9
+
10
+
int square(int a) //함수정의
11
+
{
12
+
return a * a;
13
+
}
...
\ No newline at end of file
...
\ No newline at end of file
Please
register
or
login
to post a comment