Toggle navigation
Courses
Questions
Tags
Users
AC 20161123 exercise 1
0
like
0
dislike
4k
views
請撰寫一個程式,使用者會輸入一行字元,換行字元代表輸入結束,請計算所有的輸入當中有多少個英文字母,多少個數字,以及多少個其他的字元,並依照範例的格數輸出。
Sampile input:
1234567890ancdefghijklmnopqrstuvwxyz~!@#$%^&*()_+
Sample output:
digit:10
alphabet:26
other:13
[Exercise]
Coding (C)
-
asked
Nov 23, 2016
in
作業
by
Shun-Po
(
18k
points)
ID: 17578 -
Available when:
Unlimited
-
Due to:
Unlimited
|
4k
views
comment
1
3
Called for Help
Please
log in
or
register
to add a comment.
82
Answers
0
like
0
dislike
Hidden content!# include <stdio.h>
# include <ctype.h>
void check ( char c);
int main ( void )
{
* * ** * ** ** * * ****** * * **** **** * *** *** * ** * digit, alphabet ,other;