Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1 . 1 ASSIGNMENT SPECIFICATION This is a programming assignment, and you are required to write, run, test and evaluate Python program to solve the

1.1 ASSIGNMENT SPECIFICATION
This is a programming assignment, and you are required to write, run, test and evaluate Python program to solve the tasks based on the scenario given below.
Scenario ?()
You are asked to use your software design, development, testing and evaluation skills to produce a program that meets a client's requirements.
A local property agency has employed you to write a program that will help its sales manager. The sales manager needs to calculate the amount of commission paid to employees and determine which employee will receive a bonus for a week. The commission is based on the number of properties they sell.
Currently the property agency has 5 employees, but new employees can be hired by the agency each week.
You need to create a program that will be used each week to:
Input employee name, employee ID number and number of properties sold for each employee working
calculate the sales commission paid to each employee
calculate the total commission the company must pay
calculate the total number of properties sold by the company
rank the employees in order of the number of properties they sold, from the highest number to the lowest number
apply a 15% bonus to the commission of the employee with the most sales.
Commission rate
Commission is calculated at 500 for each property sold.
Design a menu to show the following options:
an employee list in order of number of properties sold
the sales commission for each employee (as GBP currency to two decimal places)
the total sales commission for the week (as GBP currency to two decimal places)
the total number of properties sold in the week
employee of the week award -- the name and number of properties sold for the employee who has sold the most
bonus amount received by the employee of the week.
Do you want to use the menu again (YN)?
Page |2
For each menu option, the program is required to carry out the task and show the result.
When you are designing and developing the solution ensure that:
standard programming naming conventions have been followed
comments are used to explain your code
lists are used as data structure to store employee related details.
at least one function is defined and used.
you do NOT use (),) and sort() built-in functions.
it is efficient and robust
it is user friendly
it checks if the input provided by the user is valid and acceptable
the number of properties sold are recorded as natural numbers
You must design, implement and test your program. You must also justify and evaluate your decisions.
image text in transcribed

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

More Books

Students also viewed these Databases questions

Question

Did you cite the sources of the statistics?

Answered: 1 week ago