본문 바로가기
프로그래밍/C_정보올림피아드 Language_Coder

CODE593 문자열1- 자가진단 1

by Royal! 2020. 9. 21.
728x90
반응형

# include <stdio.h>

int main()
{
int num=0;
while(1)
{
printf("ASCII code =? ");
scanf("%d",&num);
if(num>=33 && num <=127)
{
printf("%c\n",num);
}
else
break;

}
}

728x90
반응형