일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 오버워치
- 리틀엔디언
- abex crack me 1번
- 리버싱
- c언어 알고리즘
- 마인크래프트
- 프로그래밍 언어론
- 배열 탐색
- 레나 리버싱
- sa 계정 비밀번호 변경
- UDP daytime
- 암호화폐
- 안드로이드 백도어
- 알고리즘
- abex crack me 2번 문제풀이
- 재밌는 모바일게임
- 구조체
- 빅엔디언
- Reverse Me
- 덧셈
- 네트워크 관리사 2급 필기
- react native
- 배열 정렬
- 메이플스토리 M 사전예약
- 1.9.2
- 프론트엔드 개발자
- C언어
- abex crack me 5번문제
- 구조체 함수
- 배열
Archives
- Today
- Total
목록c언어 사각형 (1)
Gyejoong's Information
[c언어로 해보는 알고리즘]6. 사각형의 넓이,둘레 구하기
[c언어로 해보는 알고리즘]6. 사각형의 넓이,둘레 구하기 #include #include typedef struct Point{int x, y;}point; typedef struct rectangle{point a, b;}rectangle; int area(rectangle r);int perimeter(rectangle r);int is_square(rectangle r);int main(void){point p1 = { 1, 2 };point p2 = { 3, 3 };rectangle r;r.a = p1;//r.a==(1,1)r.b = p2;//r.b==(2,2) printf("넓이 = %d\n", area(r));printf("둘레 = %d\n", perimeter(r));printf("같은가(..
etc
2016. 6. 12. 04:03