Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A company uses a ranking system of values from 0 to 5 todetermine pay raise percentage and new salary for employees.Create the code for a

A company uses a ranking system of values from 0 to 5 todetermine pay raise percentage and new salary for employees.Create the code for a python application that prompts the user forthe annual performance ranking for an employee and their currentsalary. Your code should use the annual performanceranking to determine the pay raise percentage based on the tablebelow, then calculate the new annual salary ( salary + raise) indollars. Assume rankings are only 0 to 5 inclusive. Theemployee ranking must be greater than or equal to zero and lessthan 6. Your code should have statements to output thecalculated raise and new salary for each case.

Use the following table to determine pay raise percentage:

EmployeeRanking Pay raise%

0 0%

1 1.25%

2 2.0%

3 2.5%

4 3.25%

5 3.5%

Run with the following test cases:

Rank Salary

3 $76,000

5 $32,000

1 $52,000

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

Design Operation And Evaluation Of Mobile Communications

Authors: Gavriel Salvendy ,June Wei

1st Edition

3030770249, 978-3030770242

More Books

Students also viewed these Programming questions

Question

Documentation of the appraisal activities

Answered: 1 week ago

Question

Personal knowledge of and contact with each appraised individual

Answered: 1 week ago