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 r % of Tax r 100 OMR 1% of income Income Tax Total 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 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 s Income < 2250 2250 s Income <3750 Tax 1% of income 7.500 + 2% of income 37.500 + 3% of income 4% of income 142.500+5% of income 230.000+ 6% of income 2% of income +4% of +5% of 3750 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 fomula:- Net Income Income - Tax + Total of advantages. 6) If you selected class C then disable the advantages otherwise enable it.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
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
r 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
Таx
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
3750
Income < 5250
5250
Income < 7000
142.500 + 5% of income
230.000 + 6% of income
2% of income
Income over or equal 7000
Income less than 1500
1500-<Income < 3500
Income over or equal 3500
No tax required
B
30.0
+ 4% of
110.0
+5% of
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.
DELI
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 r 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 Таx 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 3750 Income < 5250 5250 Income < 7000 142.500 + 5% of income 230.000 + 6% of income 2% of income Income over or equal 7000 Income less than 1500 1500-<Income < 3500 Income over or equal 3500 No tax required B 30.0 + 4% of 110.0 +5% of 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. DELI
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Unreferenced Objects
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education