Question: 1. Create a Python program to compute the Net Salary of an employee. The program should read the Client Name, Client Number, Basic Salary, Allowance,

 1. Create a Python program to compute the Net Salary of

an employee. The program should read the Client Name, Client Number, Basic

1. Create a Python program to compute the Net Salary of an employee. The program should read the Client Name, Client Number, Basic Salary, Allowance, and deductions You are also requested to do the following requirements: a). Create a function with no parameter and no return value that will display the Client name and Client number b). Create a function with no return value that will find the Gross salary, using the relation, Gross Salary =Basic Salary + Allowance. It should display a remark. If the Gross Salary is more than 700, display "Category A" otherwise display "Category B c). Create a function with return value that will compute the Net Salary. The Net Salary =Gross Salary - deductions. Display all the outputs in your main program. 2. A Income Tax Department wants you to write a program that will compute the Tax amount and fine amount for their clients who have not paid their tax amount. The program should input customer name, and the three tax amount. Use Anonymous functions or Lambda to solve the following: a). Accept as parameters the three tax amount andreturn the total tax amount. b). Compute the fine amount based on total tax amount. If the total tax amount is above 900 OMR, then the fine amountis computed as 15.5% of total tax amount. otherwise, fine am ount is computedas 25.5% of total tax amount. Display all the details

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!