Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use Python programing A company uses a ranking system of values from 0 to 5 to determine pay raise percentage and new salary for employees.

Use Python programing A company uses a ranking system of values from 0 to 5 to determine pay raise percentage and new salary for employees. Create the code for a python application that prompts the user for the annual performance ranking for an employee and their current salary. Your code should use the annual performance ranking to determine the pay raise percentage based on the table below, then calculate the new annual salary ( salary + raise) in dollars. Assume rankings are only 0 to 5 inclusive. The employee ranking must be greater than or equal to zero and less than 6. Your code should have statements to output the calculated raise and new salary for each case.

Use the following table to determine pay raise percentage:

Employee Ranking 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

Main Memory Database Systems

Authors: Frans Faerber, Alfons Kemper, Per-Åke Alfons

1st Edition

1680833243, 978-1680833249

More Books

Students also viewed these Databases questions

Question

Why is work so important?

Answered: 1 week ago

Question

1. Which position would you take?

Answered: 1 week ago