Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- Angular Router
- Router
- 호버
- 셀렉트박스 커스텀
- 앵귤러 애니메이션
- ApexChart
- flex-1
- 아이오닉 스크롤 이벤트
- scroll
- 옵저버블
- 스크롤 이벤트 감지
- angular button
- 검색
- summary
- Oracle LISTAGG 사용 예시
- TAILWIND
- prisma
- 모달
- angular animation
- formgroup
- modal
- Ionic modal
- angular modal
- mysql if
- egov spring ajax 사용 예시
- angular route
- 스크롤 이벤트
- ajax 사용 예시
- route
- 앵귤러 모달
Archives
- Today
- Total
목록C언어 배열 (2)
깜놀하는 해므찌로
C언어 배열 팁
#include int main(void){ int total[2] = {0, }; // 모든 요소에 0만 넣고 비워 둔다 return 0; }
IT
2023. 4. 28. 22:19
C언어 기초 알고리즘 배열 내 가장 큰 수 찾기 예시
#include #define NUMBER 5 // C언어에서 일반적으로 배열의 사이즈를 정할 때 NUMBER 를 사용 int main(void){ int i, max, min, index; int array[NUMBER]; for(i = 0; i < NUMBER; i++){ printf("숫자를 입력해주세요."); scanf("%d", &array[i]); if(max < array[i]){ max = array[i]; index = i; } } printf("max : %d\n index : %d", max, index); return 0; }
IT
2023. 4. 26. 22:11