Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You wish to calculate an employee's new salary given their current salary and their performance rating. Raises for the next year will be handed out
You wish to calculate an employee's new salary given their current salary and their performance rating.
Raises for the next year will be handed out on the following basis:
A rating of or above will result in a raise of New Salary Current Salary
A rating of will result in a raise of New Salary Current Salary
A rating of or below will result in no raise. New Salary Current Salary
Using conditional statements if else, elseif calculate new salary Newsalary of an employee with a current salary Currentsalary of $ and a performance rating Eperformance of Note: this can easily be accomplished using a simple equation, but this problem is meant to help you practice conditional statements. Creating your conditional statements here can help you with the next problem.
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