diff --git "a/5_\353\202\234\354\210\230\355\224\204\353\241\234\352\267\270\353\236\250.cpp" "b/5_\353\202\234\354\210\230\355\224\204\353\241\234\352\267\270\353\236\250.cpp" index 1b6231e837eff0f7f75c6600150796d36c5d8540..08dbeb810d3958d92a209805b00197f402d95055 100644 --- "a/5_\353\202\234\354\210\230\355\224\204\353\241\234\352\267\270\353\236\250.cpp" +++ "b/5_\353\202\234\354\210\230\355\224\204\353\241\234\352\267\270\353\236\250.cpp" @@ -1,5 +1,7 @@ -//���� ���α� -//201421110 �̵���а� ������ +//난수 프로그램 +//201421110 미디어학과 김태은 + +// test용이다!! #include <stdio.h> #include <stdlib.h> @@ -22,7 +24,7 @@ int main() if (i % 10 == 9) printf("\n"); } - printf("\n���ڸ� �Է��ϼ���\n"); + printf("\n숫자를 입력하세요\n"); scanf_s("%d", &num); @@ -51,9 +53,9 @@ int main() } if (min_val>0) - printf("ū �� �� ���� ����� �� : %d", arr[index]); + printf("큰 수 중 제일 가까운 값 : %d", arr[index]); else - printf("���� ã�� �� �����ϴ�."); + printf("값을 찾을 수 없습니다."); return 0; } \ No newline at end of file