Write a Python script to input employee number, basic, HRA, DA and IT of an employee. Calculate and display the net salary. (net salary=basic+HRA+DA-IT)
(pls give output as well)
Answers
Answered by
2
#made by @thefactnation (me)
#dont copy
#coding page in ig thefactnationn is the user name
emp_num = int(input("Employee number: "))
basic = int(input("Basic: "))
hra = int(input("HRA: "))
da = int(input("DA: "))
it = int(input("IT: "))
net_salary = basic + hra + da - it
print("Employee Number: ", emp_num)
print("Net Salary: " , net_salary)
output given in attachments
PLS MARK BRAINLIEST
Attachments:
Similar questions