Go to the documentation of this file.
36 if (printf(
"Zadejte znak: "), 1==scanf(
"%c", &c)) {
37 if (
'0' <= c && c <=
'9') {
38 printf(
"cislice %c\n", c);
40 else if (
'a' <= c && c <=
'z') {
41 printf(
"male pismeno %c\n", c);
43 else if (
'A' <= c && c <=
'Z') {
44 printf(
"velke pismeno %c\n", c);
48 case '!': printf(
"vykricnik, bang\n");
break;
49 case '?': printf(
"otaznik\n");
break;
50 case '*': printf(
"hvezdicka\n");
break;
51 case '@': printf(
"zavinac\n");
break;
52 case '#': printf(
"krizek, hash, zahradka\n");
break;
53 case '^': printf(
"striska\n");
break;
59 fprintf(stderr,
"Zadejte znak!\n");