Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

by using python 1. Create a Python program to compute the Net Salary of an employee. The program should read the Client Name, Client Number,

by using python

image text in transcribed

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 amount is computed as 25.5% of total tax amount. Display all the details

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Practical Neo4j

Authors: Gregory Jordan

1st Edition

1484200225, 9781484200223

More Books

Students also viewed these Databases questions

Question

The paleolithic age human life, short write up ?

Answered: 1 week ago

Question

Describe Table Structures in RDMSs.

Answered: 1 week ago