Write a program to accept and store Employee name as a key and his
salary, allowance and deduction as value in a dictionary Dict for 10
employees. Display the following Menu:
1. Display Total Salary
2. Display Total Allowance and Deductions
3. Search an Employee
When user selects option 1 display a report having Name, Salary,
Allowance, Deduction, Gross salary (Salary + allowance) and Net
Salary(Gross salary – Deductions)
When user selects option 2 find total allowance and deductions of all 10
employees.
When user selects option 3 accept name of the employee and search in the
dictionary.
Answers
Agriculture is the art and science of cultivating the soil, growing crops and raising livestock. It includes the preparation of plant and animal products for people to use and their distribution to markets. ... These products, as well as the agricultural methods used, may vary from one part of the world to another
Answer:
Write a program to accept and store Employee name as a key and his
salary, allowance and deduction as value in a dictionary Dict for 10
employees. Display the following Menu:
1. Display Total Salary
2. Display Total Allowance and Deductions
3. Search an Employee
When user selects option 1 display a report having Name, Salary,
Allowance, Deduction, Gross salary (Salary + allowance) and Net
Salary(Gross salary – Deductions)
When user selects option 2 find total allowance and deductions of all 10
employees.
When user selects option 3 accept name of the employee and search in the
dictionary