algorithm/기초다지기
514 : 입력 - 자가진단6
m0nd2y
2018. 2. 27. 19:24
514 : 입력 - 자가진단6

키를 입력받아 출력하는 프로그램을 작성하라.
(입력할때 "height = " 문장을 먼저 출력하고 키를 입력 받아야 합니다.)
![]() height = 170 | ![]() Your height is 170cm. |
/**************************************************************
Problem: 514
User: ldj6192
Language: C++
Result: Success
Time:0 ms
Memory:1092 kb
****************************************************************/
#include
int main()
{
int tall;
printf("키 = ");
scanf("%d", &tall);
printf("당신의 키는 %dcm입니다. \n", tall);
return 0;
}

