0 like 0 dislike
7.6k views
目前的所得稅累進稅率為:
0-520000 5%
520001-1170000 12%
1170001-2350000 20%
2350001-4400000 30%
4400001-10000000 40%
10000001- 45%
請撰寫一程式,由使用者輸入所得後計算出所得稅輸出。

sample input:

1000000

sample output:

83600
[Exercise] Coding (C) - asked in 2016-1 程式設計(一)AC by (18k points)
ID: 15426 - Available when: 2016-10-27 18:30:00 - Due to: 2016-10-27 21:00:00

reshown by | 7.6k views
0 1
Called for Help
0 0
Called for Help

112 Answers

0 like 0 dislike
Hidden content!
#include <stdio.h>

#include <stdlib.h>



int main()

{



    int a;
****** ***** ** *** *** *** * * * ** *
* ** * * ****** * * * ** *** * * *** *** ***
** * ** * *** **** ** *** * ** * * ** *** ****** * * * ** ***
** ** * * * * ** * * * *** * **** ** * * *** * *
* * ****** * *** *** *** * *** ***** ** * * ** * *
**** ** * *** ** ** * * *** *** ** * ** * * * *** * ***
* * * * * ** **** * * *** * * ******* * *** ** *** * *
**** * ****** ** ** *** *** **** * ** * * * ******* *
* *** * * * * * ** * ** * * * * * * * * ** ** ** * ** ** *** **

    else ********** ***** ** * * * *******
* * ** * * ** * **** ** ** ** *** **** * ** ***** ** * ****** *

    else if(a>=10000001)
* ** **** * * * * * ** * * * ** ***** *** * ** ** *** ***
** * * * * * **** * ** 0;

}
answered by (-85 points)
0 like 0 dislike
Hidden content!
* * * ***** * * **

int main()

{

int n;
* ** * * **** ** ** *****
** **** * * * *

{
* *** * * ******

}
***** * ****** * **** ***

{
* ***** ** ** * *

}
** ** ** * ****** * *

{
* * ** *** ** *** *

}
** * * ** ******* * * *** * ***

{
* * ***** **** *

}
** *** ** * *** *** * * ** *

{
* * **** ** * *** *

}

if(n>=10000001)

{
*** ** * ****

}



return 0;





}
answered by (-124 points)
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:172.69.59.175
©2016-2025

Related questions

0 like 0 dislike
0 answers
[Resource] asked Oct 27, 2016 in 2016-1 程式設計(一)AC by Shun-Po (18k points)
ID: 15475 - Available when: Unlimited - Due to: Unlimited
| 13 views
0 like 0 dislike
5 answers
[Exercise] Coding (C) - asked Oct 27, 2016 in 2016-1 程式設計(一)AC by Shun-Po (18k points)
ID: 15447 - Available when: 2016-10-27 18:30:00 - Due to: 2016-10-27 21:00:00
| 977 views
1 like 0 dislike
37 answers
[Exercise] Coding (C) - asked Oct 27, 2016 in 2016-1 程式設計(一)AC by Shun-Po (18k points)
ID: 15446 - Available when: 2016-10-27 18:30:00 - Due to: 2016-10-27 21:00:00
| 3.2k views
1 like 0 dislike
17 answers
[Exercise] Coding (C) - asked Oct 27, 2016 in 2016-1 程式設計(一)AC by Shun-Po (18k points)
ID: 15442 - Available when: 2016-10-27 18:30:00 - Due to: 2016-10-27 21:00:00
| 1.7k views
1 like 0 dislike
18 answers
[Exercise] Coding (C) - asked Oct 27, 2016 in 2016-1 程式設計(一)AC by Shun-Po (18k points)
ID: 15440 - Available when: 2016-10-27 18:30:00 - Due to: 2016-10-27 21:00:00
| 1.7k views
12,783 questions
183,442 answers
172,219 comments
4,824 users