Professional Documents
Culture Documents
PROBLEM: Write a program i n Python t o calculate salary of an employee given his basic pay
(take as input from user). Calculate gross salary of employee. Let HRA be 10% of basic pay and
TA be 5% of basic pay. Let employee pay professional t ax as 2% of total salary. Calculate net
salary payable after deductions.
OBJECTIVE: To write a program in Python t hat calculates t he net salary of an employee after
taking t he basic pay as an input from the user.
SOFTWARE:
Microsoft Visual Studio Code
Version: 1.56.2 (user setup)
HARDWARE:
Processor: Intel(R) Corel(TM) i5-3230M CPU @ 2.60GHZ 2.60GHZ
Ram: 4 GB
Rom: 500 GB
ALGORITHM:
FLOWCHART:
PROGRAM: