Qi GUI Application Write a python program to create the following GUI :- Income Departmere INcome Tax Retent Nne Anal neame r CLASS A rCLASS r CASS C fadnt Clas Adrertg Incne fe Tutal fatg Nat insame Catite t incam 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

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
Q1 GUI Application
Write a python program to create the following GUI :-
Income Te Departmert
INcome Tax
Realent Nne
Anual neame
r CLASS A
r CLASS A
C CASS C
faident Clas
Advanteges
stname
Incene fe
Tutal ef ahteg
Net inseme
Catsie hiet inceme
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 s Income <2250
7.500
+ 2% of income
37.500 + 3% of income
82.500 4% of income
2250 s Income < 3750
3750 s Income < 5250
5250 s Income < 7000
Income over or equal 7000
142.500 + 5% of income
230,000 + 6% of income
Income less than 1500
2% of income
1500 <Income <3500
Income over or equal 3500
No tax required
+ 4% of
+ 5% of
30.0
110.0
C
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:Q1 GUI Application Write a python program to create the following GUI :- Income Te Departmert INcome Tax Realent Nne Anual neame r CLASS A r CLASS A C CASS C faident Clas Advanteges stname Incene fe Tutal ef ahteg Net inseme Catsie hiet inceme 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 s Income <2250 7.500 + 2% of income 37.500 + 3% of income 82.500 4% of income 2250 s Income < 3750 3750 s Income < 5250 5250 s Income < 7000 Income over or equal 7000 142.500 + 5% of income 230,000 + 6% of income Income less than 1500 2% of income 1500 <Income <3500 Income over or equal 3500 No tax required + 4% of + 5% of 30.0 110.0 C 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 2 steps

Blurred answer
Knowledge Booster
Running Time of Application
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