Toggle navigation
Courses
Questions
Tags
Users
AC 20161005 作業 3
0
like
0
dislike
6.1k
views
請設計一程式,讓使用者輸入一個郵遞區號(3碼),程式會自動判斷該郵遞區號的所在地並輸出。
郵遞區號查詢請至下列網址尋找 3+2碼郵遞區號Excel檔 105/01(英文版, zip檔)
http://www.post.gov.tw/post/internet/Download/all_list.jsp?ID=2201#dl_txt_s_A0206
範例輸入1
500
範例輸出1
Changhua City
範例輸入2
974
範例輸入2
Shoufeng Township
[Exercise]
Coding (C)
-
asked
Oct 5, 2016
in
作業
by
Shun-Po
(
18k
points)
ID: 12295 -
Available when:
Unlimited
-
Due to:
Unlimited
1
flag
reshown
Oct 5, 2016
by
Shun-Po
|
6.1k
views
comment
0
0
Called for Help
0
0
Called for Help
0
0
Called for Help
0
0
Called for Help
0
0
Called for Help
Please
log in
or
register
to add a comment.
152
Answers
0
like
0
dislike
Hidden content!* **** * * ** * * *** * *
** ** * * ** ** *
int main()
{
int a , b;
* * *** ** * *** * * * * ** *******
if(a == 817,a == 819)
* ** * * * * ********** = 23;
else if(a == 290)
* ** * * ** * * **** * = 24;
else
* * ** * ** *****
* *** ** * * * * ** * = 1;
else if(a>=95000)
* * * * * * * * * * * * = 2;
else if(a>=90000)