Then after clicking the 'Calculate Net Income' button do the following: - 1) The resident name is mandatory, don't leave it blank show a message in this case 2) Don't Accept negative income, Show an appropriate message. 3) Calculate the income tax according to the following table and display it in its Entry. Class Income Income less than 750 750 160 then change its background color to red 4) Calculate the total of advantages and display it in its Entry. 5) Calculate the net income and display it in its Entry according to the following formula: - Net Income=Income - Tax + Total of advantages. 6) If you selected class C then disable the advantages otherwise enable it.
Then after clicking the 'Calculate Net Income' button do the following: - 1) The resident name is mandatory, don't leave it blank show a message in this case 2) Don't Accept negative income, Show an appropriate message. 3) Calculate the income tax according to the following table and display it in its Entry. Class Income Income less than 750 750 160 then change its background color to red 4) Calculate the total of advantages and display it in its Entry. 5) Calculate the net income and display it in its Entry according to the following formula: - Net Income=Income - Tax + Total of advantages. 6) If you selected class C then disable the advantages otherwise enable it.
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
100%
![Q1 GUI Application
Write a python program to create the following GUI :-
Income Tax Department
INcome Tax
Resident Name
Anual Income
C CLASS A
C CLASS B
C CLASS C
r 5% of Tax
r 100
Resident Class
Advanteges
OMR
r 15 of income
Income Tax
Total of advanteges
Net income
Calculate Net Income
Then after clicking the 'Calculate Net Income' button do the following: -
1) The resident name is mandatory, don't leave it blank show a message in this case
2) Don't Accept negative income, Show an appropriate message.
3) Calculate the income tax according to the following table and display it in its Entry.
Class
Income
Тах
Income less than 750
1% of income
750 < Income < 2250
7.500 + 2% of income
2250 < Income <3750
37.500 + 3% of income
3750 < Income < 5250
82.500 + 4% of income
5250 < Income < 7000
142.500 + 5% of income
230.000 + 6% of income
Income over or equal 7000
Income less than 1500
1500 < Income < 3500
Income over or equal 3500
No tax required
2% of income
+ 4% of
+ 5% of
B
30.0
110.0
If the value of tax >160 then change its background color to red
4) Calculate the total of advantages and display it in its Entry.
5) Calculate the net income and display it in its Entry according to the following formula: -
Net Income-Income - Tax + Total of advantages.
6) If you selected class C then disable the advantages otherwise enable it.](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F99250695-f727-4225-813c-4f95acee140a%2F7ae3801a-55b4-439b-a333-5a912cd5ac90%2Flbsamz_processed.jpeg&w=3840&q=75)
Transcribed Image Text:Q1 GUI Application
Write a python program to create the following GUI :-
Income Tax Department
INcome Tax
Resident Name
Anual Income
C CLASS A
C CLASS B
C CLASS C
r 5% of Tax
r 100
Resident Class
Advanteges
OMR
r 15 of income
Income Tax
Total of advanteges
Net income
Calculate Net Income
Then after clicking the 'Calculate Net Income' button do the following: -
1) The resident name is mandatory, don't leave it blank show a message in this case
2) Don't Accept negative income, Show an appropriate message.
3) Calculate the income tax according to the following table and display it in its Entry.
Class
Income
Тах
Income less than 750
1% of income
750 < Income < 2250
7.500 + 2% of income
2250 < Income <3750
37.500 + 3% of income
3750 < Income < 5250
82.500 + 4% of income
5250 < Income < 7000
142.500 + 5% of income
230.000 + 6% of income
Income over or equal 7000
Income less than 1500
1500 < Income < 3500
Income over or equal 3500
No tax required
2% of income
+ 4% of
+ 5% of
B
30.0
110.0
If the value of tax >160 then change its background color to red
4) Calculate the total of advantages and display it in its Entry.
5) Calculate the net income and display it in its Entry according to the following formula: -
Net Income-Income - Tax + Total of advantages.
6) If you selected class C then disable the advantages otherwise enable it.
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps with 1 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Recommended textbooks for you
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
![Concepts of Database Management](https://www.bartleby.com/isbn_cover_images/9781337093422/9781337093422_smallCoverImage.gif)
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
![Prelude to Programming](https://www.bartleby.com/isbn_cover_images/9780133750423/9780133750423_smallCoverImage.jpg)
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
![Sc Business Data Communications and Networking, T…](https://www.bartleby.com/isbn_cover_images/9781119368830/9781119368830_smallCoverImage.gif)
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY