01: #include <stdio.h>
02:
03: int main(void)
04: {
05: int c;
06: printf("ASCII code: ");
07: scanf("%d", &c);
08: if(c < 0 || 128<= c)
09: {
10: printf("Error\n");
11: }
12: else
13: {
14: printf("%c\n", c);
15: }
16: return 0;
17: }