Q1 GUI Application Write a python program to create the following GUI :- Income Tax Department INcome Tax Resident Name Anual Inceme Resident Class C CLASS A C CLASS B C CLASS C Advanteges 5% of Tax r 100 OMR C 1% of income Income Tax Tetal of advanteges Net Inceme Calculate Net lIncome Then after clicking the 'Calculate Net Income' button do the following: 1) The resident name is mandatory, don't leave it blank show a mes 2) Don't Accept negative income, Show an appropriate message. 3) Calculate the income tax according to the following table and dis Class Income Income less than 750 750 s Income < 2250 Таx 1% of income 7.500 + 2% of ince

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...
icon
Related questions
Question
2/ 4
75%
Q1 GUI Application
Write a python program to create the following GUI :-
Income Tax Department
INcome Tax
Resident Name
Anual inceme
Resident Ciass
r CLASS A
C CLASS B
C CLASS C
Advanteges
5% of Tax
r 100
OMR
C 1% 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
7.500 + 2% of income
37.500 + 3% of income
82.500 + 4% of income
750
Income < 2250
2250 s Income < 3750
Income < 5250
3750
5250
Income < 7000
Income over or equal 7000
Income less than 1500
1500-<Income < 3500
Income over or equal 3500
No tax required
142.500 + 5% of income
230.000+ 6% of income
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.
Transcribed Image Text:2/ 4 75% Q1 GUI Application Write a python program to create the following GUI :- Income Tax Department INcome Tax Resident Name Anual inceme Resident Ciass r CLASS A C CLASS B C CLASS C Advanteges 5% of Tax r 100 OMR C 1% 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 7.500 + 2% of income 37.500 + 3% of income 82.500 + 4% of income 750 Income < 2250 2250 s Income < 3750 Income < 5250 3750 5250 Income < 7000 Income over or equal 7000 Income less than 1500 1500-<Income < 3500 Income over or equal 3500 No tax required 142.500 + 5% of income 230.000+ 6% of income 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
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 7 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
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…
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)
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
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY