repo.or.cz
/
letusc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
move to repo.or.cz
[letusc.git]
/
ch2
/
exercises3
/
exA2.c
blob
717ff71aaa675723010e74b6e04f9599967fc42b
1
#include<stdio.h>
2
3
int
main
()
4
{
5
char
c
;
6
7
printf
(
"Enter a character:"
);
8
scanf
(
"%c"
,&
c
);
9
10
((
c
>=
0
&&
c
<=
47
)||(
c
>=
58
&&
c
<=
64
)||(
c
>=
91
&&
c
<=
96
)||(
c
>=
123
&&
c
<=
127
)?
11
printf
(
"It is a special symbol
\n
"
):
12
printf
(
"It is not a special symbol
\n
"
));
13
14
return
0
;
15
}