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

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter9: Using Classes And Objects
Section: Chapter Questions
Problem 5E: Create an application named CarDemo that declares at least two Car objects and demonstrates how they...
icon
Related questions
Question
100%
Q1 GUI Application
Write a python program to create the following GUI :-
1 Income Tax Department
INcome Tax
Resident Name
Anual Income
Resident Class
C 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
Тах
Income less than 750
1% of income
750 < Income < 2250
2250 <Income <3750
3750 <Income < 5250
5250 <Income < 7000
Income over or equal 7000
7.500 + 2% of income
37.500 + 3% of income
A
82.500 + 4% of income
142.500 + 5% of income
230.000 + 6% of income
Income less than 1500
2% of income
В
1500 < Income < 3500
30.0
+ 4% of
+ 5% of
Income over or equal 3500
No tax required
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 :- 1 Income Tax Department INcome Tax Resident Name Anual Income Resident Class C 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 Тах Income less than 750 1% of income 750 < Income < 2250 2250 <Income <3750 3750 <Income < 5250 5250 <Income < 7000 Income over or equal 7000 7.500 + 2% of income 37.500 + 3% of income A 82.500 + 4% of income 142.500 + 5% of income 230.000 + 6% of income Income less than 1500 2% of income В 1500 < Income < 3500 30.0 + 4% of + 5% of Income over or equal 3500 No tax required 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
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Web Page
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
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
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