Input name, age basis salary of an employee. Calculate the total salary of an employee by adding 10 per cent DA and 10 per cent HRA to the basic salary in python? DON'T GIVE WRONG ANSWER OTHERWISE I'LL DELETE ANSWER
Answers
Answered by
58
Program in Python:
name = input("Enter Name : ")
age = int(input("Enter Age : "))
basic_salary = int(input("Enter Basic Salary : "))
total_salary = basic_salary + (basic_salary * 10 / 100) + (basic_salary * 10 / 100)
print("Total Salary = " , total_salary)
Output:
Enter Name : Jack
Enter Age : 28
Enter Basic Salary : 1000
Total Salary = 1200.0
Answered by
3
Explanation:
ok this is answer it is fully right ok now solve it
Attachments:
Similar questions