Problems
Write a program that repeatedly receives a character as input. If the character is an alphabet letter, print it as is; if it is a digit, print its ASCII code. The program terminates when any other character is entered.
Example
A
1
@
A
49
Source
자기주도C언어프로그래밍