Main Page
+
Namespaces
Namespace List
+
Namespace Members
All
Functions
Variables
+
Classes
Class List
+
Class Members
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Typedefs
_
b
c
e
l
m
n
p
r
s
t
v
w
Enumerations
+
Enumerator
a
b
c
d
e
i
l
m
n
o
p
r
t
w
x
y
z
+
Macros
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
contrib
talk
akaho
freq.c
Go to the documentation of this file.
1
#include <stdio.h>
2
#include <ctype.h>
3
4
char
a
[26];
5
6
main
()
7
{
8
int
i, c;
9
10
for
(i = 0; i < 26; i++)
a
[i] = 0;
11
while
((c = getchar()) != EOF) {
12
i = tolower(c) -
'a'
;
13
if
(i >= 0 && i < 26)
a
[i] += 1;
14
a
[i] %= 10;
15
}
16
for
(i = 0; i < 26; i++) putchar(
a
[i]+
'0'
);
17
putchar(
'\n'
);
18
}
main
main()
Definition:
freq.c:6
a
char a[26]
Definition:
freq.c:4
euslisp
Author(s): Toshihiro Matsui
autogenerated on Mon Feb 28 2022 22:18:27