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.

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
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
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,