You are on page 1of 3

PPS ASSIGNMENT – 1

NAME : Tejas M. Ambekar


ROLL NO.: 10418
DATE: 7/06/2021
CLASS: FE 4 A4

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:
SAMPLE TEST CASE 1:

SAMPLE TEST CASE 2:

SAMPLE TEST CASE 3:

CONCLUSION: The python program outputs t he net salary of an employee after taking the
basic pay as an input from the user.

You might also like