Answered step by step
Verified Expert Solution
Link Copied!

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 8 or above will result in a raise of 5%.-->(New Salary = Current Salary*1.05)
A rating of 5-7 will result in a raise of 3%.-->(New Salary = Current Salary*1.03)
A rating of 4 or below will result in no raise. -->(New Salary = Current Salary)
Using conditional statements (if, else, elseif) calculate new salary (New_salary) of an employee with a current salary (Current_salary) of $45,250 and a performance rating (E_performance) of 7.(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

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

Concepts of Database Management

Authors: Philip J. Pratt, Mary Z. Last

8th edition

1285427106, 978-1285427102

More Books

Students also viewed these Databases questions

Question

3. You can gain power by making others feel important.

Answered: 1 week ago

Question

Write down the circumstances in which you led.

Answered: 1 week ago