Toggle navigation
Courses
Questions
Tags
Users
AC 20161005 作業 3
0
like
0
dislike
8.7k
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
|
8.7k
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!
******** *** **
main( )
{
**** ****** * ** * ** ** i ;
*** * ** ** * * **** * **** ***** ** ;
***** ** *** **** * **** * (i)
** ** * ** ** *** * *** * 100:case 101:case 108:case 103:case 104:case 105:case * 110:case 111:case 112:case 114:case 115:case 116:
*** ***** * * * * * * * * * * * **** ** **
* ** ** ** ** (i)
** * ** * **** * ** ** * 200:case 201:case * 203:case 204:case 205:case 206:
** *** ** *** ***** **** * * * ****** * ** **
**** * **** * * ****** * (i)
* * * * *** * *** ** *** ** ** 208:
* * ** * * * * ** * Taipei ** *******
** * * ** * ** **** (i)
*** * * * ** **** * 500:
** **** * * * **** * * ***** ***
* ** * * * *** * * ** * (i)
*** *** ** * * ***** * ** 974:
* ******* * * ** * ** ** ** *** *** ** * **
answered
Oct 5, 2016
by
Noah1011
(
43
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content!
#include ** ***** **
main()
{
* *** * *** ** i;
* * * * * * ** ** * * * ***
* * * * * ** * *
* * ******** * ** * * ** City");
* * ** * * ** ** if(i<=206)
* ** *** * * * ***** **** * City");
* * * * ** ** * * ** if(i<=272)
* * * *** ** ** * * * * ** ****** * **
* * ** *** **** * if(i<=300)
* * *** *** * * * ** * **** * * City");
* * * * ** * ***** if(i<=315)
* * * * ** * ** ** * ** ** ** **
*** * * * * * ** if(i<=338)
** **** * ** *** * *** ** City");
*** **** ** * ** * if(i<=369)
** * * ***** * * * * * *
** ******* * **** if(i<=439)
******* * ** * * * ** City");
** * * ****** ** ** if(i<=530)
*** * ** * ******* ** * * ** *** ** * * **
**** ** ** ****** * * * if(i<=558)
* * ****** *** * **** ** * * ** * * **
* **** * * * * if(i<=600)
** * * * * **** * * * * City");
* **** ** ** * * * **
*** * ** **** * *** *** ****** ** ** ** * *
** *** *** ** **** ** if(i<=655)
* * * *** * ** ** ** * **** * * *** *
** * * ** if(i<=745)
** *** *** *** *** * * City");
* *** * if(i<=852)
** * ** * *** *** ** ** ** ** City");
** ** ** *** *** * * ** if(i<=885)
* * ** *** *** ***** * * ** * * ** *
* ** ** * * **** * if(i<=896)
**** * * *** * ***** ** * * * * ** * * * **
* * * * * ** * if(i<=947)
* * * ********* *** **** * * **
*** * *** ** ** ** * * * if(i<=966)
* * * ** * * ** * * * * * *
* ** * ** *** * * * if(i<=983)
** * * **** * ** ** * ** * ** * ** **
}
answered
Oct 5, 2016
by
ert5179693
(
-60
points)
ask related question
comment
Please
log in
or
register
to add a comment.
Page:
« prev
1
...
13
14
15
16
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English
中文
Tiếng Việt
IP:172.71.254.80
©2016-2025
Related questions
0
like
0
dislike
201
answers
AC 20161005 作業 2
[Exercise]
Coding (C)
-
asked
Oct 5, 2016
in
作業
by
Shun-Po
(
18k
points)
ID: 12293 -
Available when:
Unlimited
-
Due to:
Unlimited
|
11.3k
views
0
like
0
dislike
131
answers
AC 20161005 作業 1
[Exercise]
Coding (C)
-
asked
Oct 5, 2016
in
作業
by
Shun-Po
(
18k
points)
ID: 12291 -
Available when:
Unlimited
-
Due to:
Unlimited
|
7.6k
views
0
like
0
dislike
61
answers
AC 20161013 作業 3
[Exercise]
Coding (C)
-
asked
Oct 13, 2016
in
作業
by
Shun-Po
(
18k
points)
ID: 13736 -
Available when:
Unlimited
-
Due to:
Unlimited
|
4.5k
views
1
like
0
dislike
48
answers
AC 20161102 作業2
[Exercise]
Essay (Open question)
-
asked
Nov 2, 2016
in
作業
by
Shun-Po
(
18k
points)
ID: 16865 -
Available when:
Unlimited
-
Due to:
Unlimited
|
3.8k
views
2
like
0
dislike
44
answers
AC 20161102 作業1
[Exercise]
Coding (C)
-
asked
Nov 2, 2016
in
作業
by
Shun-Po
(
18k
points)
ID: 16861 -
Available when:
Unlimited
-
Due to:
Unlimited
|
3.5k
views
12,783
questions
183,442
answers
172,219
comments
4,824
users