Toggle navigation
Courses
Questions
Tags
Users
AC字串練習 設定一組密碼
0
like
0
dislike
332
views
請撰寫一個程式,其程式讓使用者設定密碼,密碼需有英文字母及數字且字數在6到10字間,若其中一條件不符合則輸出error,若都符合則輸出finish。
範例輸入1 ffg2573
範例輸出1 finish
範例輸入2 54454589712
範例輸出2 error
[Normal]
Coding (C)
-
asked
Jan 5, 2017
in
2016-1 程式設計(一)AC
ID: 20997 -
Available when:
Unlimited
-
Due to:
Unlimited
reshown
Jan 5, 2017
by
Shun-Po
|
332
views
comment
Please
log in
or
register
to add a comment.
3
Answers
0
like
0
dislike
Hidden content!* * * * * * * *
* ** * * ** ** **
******* * * * * * * **
int main (void)
{ *** ** *
* * * * * * * ** *** ** ** * a=0,b,c=0,d=0,k;