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

Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter10: Classes And Objects
Section: Chapter Questions
Problem 7E
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
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT