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
- ajax 사용 예시
- mysql if
- ApexChart
- angular modal
- 옵저버블
- prisma
- scroll
- angular route
- 아이오닉 스크롤 이벤트
- 앵귤러 애니메이션
- TAILWIND
- 호버
- egov spring ajax 사용 예시
- Ionic modal
- 셀렉트박스 커스텀
- route
- Oracle LISTAGG 사용 예시
- 앵귤러 모달
- formgroup
- angular button
- modal
- 모달
- 스크롤 이벤트 감지
- angular animation
- Angular Router
- summary
- 검색
- 스크롤 이벤트
- flex-1
- Router
Archives
- Today
- Total
목록가장 큰 수 찾기 알고리즘 (1)
깜놀하는 해므찌로
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