From 02d87ee96cfb60682227e376a5ae1dfa1f141f18 Mon Sep 17 00:00:00 2001 From: KimTaeeun <teun1215@ajou.ac.kr> Date: Sat, 10 Nov 2018 01:36:20 +0900 Subject: [PATCH] =?UTF-8?q?=ED=85=8C=EC=8A=A4=ED=8A=B8=EC=9A=A9!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...\224\204\353\241\234\352\267\270\353\236\250.cpp" | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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 1b6231e..08dbeb8 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 -- GitLab