Write a program in Python to get basic salary, house rent allowance and transportation allowance from the user using GUI and calculate the gross salary. If the gross salary >=4000 then tax =15% of the basic salary If the gross salary is between 2000-3999 tax =10% of the basic salary If the gross salary is less than 2000 then tax = 5% of the basic salary %3! Net salary = Gross salary- tax amount Net salary should be displayed when the button is pressed.

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter3: Using Gui Objects And The Visual Studio Ide
Section: Chapter Questions
Problem 2E: Write a GUI program named ProjectedRaisesGUI that allows a user to enter an salary. Then display,...
icon
Related questions
Question

Give me answer fast..

Write a program in Python to get basic salary, house rent allowance and
transportation allowance from the user using GUI and calculate the gross salary.
If the gross salary >=4000 then tax =15% of the basic salary
If the gross salary is between 2000-3999 tax =10% of the basic salary
If the gross salary is less than 2000 then tax = 5% of the basic salary
Net salary = Gross salary- tax amount
Net salary should be displayed when the button is pressed.
Transcribed Image Text:Write a program in Python to get basic salary, house rent allowance and transportation allowance from the user using GUI and calculate the gross salary. If the gross salary >=4000 then tax =15% of the basic salary If the gross salary is between 2000-3999 tax =10% of the basic salary If the gross salary is less than 2000 then tax = 5% of the basic salary Net salary = Gross salary- tax amount Net salary should be displayed when the button is pressed.
Expert Solution
steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Fundamentals of system reliability
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,
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT