InterviewSolution
Saved Bookmarks
| 1. |
Using dictionary, write a program to input names of ‘n’ employees and their salary details like basic salary, house rent, and conveyance allowance. Calculate total salary of each employees and display. |
|
Answer» Develop a program that reads the BASIC salary, various allowances and tax DEDUCTION from user and then calculate gross salary. Create a class TotalSalary stored in a MODULE name totalsalary. Objects that are created from this class will SIMULATES CALCULATION of gross salary.totalsalary.py |
|