배열 문제
개요 배열 days[] 를 아래와 같이 초기화하고 배열 원소의 값을 다음과 같이 출력하는 프로그램 을 작성하라. 목표 1월은 31일까지 있습니다. 2월은 29일까지 있습니다. ..... Code #include int main(void) { int days[] = { 30,29,31,30,31,30,31,31,30,31,30,31 }; for (int i = 1; i aRand[j]) { temp = aRand[i]; aRand[i] = aRand[j]; aRand[j] = temp; } } } for (int i = 0; i < 10; i++) { printf("%5d", aRand[i]); } printf("\nMIN : %d\tMAX : %d",aRand[0],aRand[9]); } Output 개..