Question
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started