Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3. Complete the following program to determine the raise and new salary for an employee by adding if...else statements to compute the raise. The input

image text in transcribed
image text in transcribed
3. Complete the following program to determine the raise and new salary for an employee by adding if...else statements to compute the raise. The input to the program includes the current annual salary for the employee and a number indicating the performance rating (0=unacceptable, 1=poor, 2=good, and 3=excellent). An employee with a rating of 1 will receive a 1.5% raise, an employee with a rating of 2 will receive a 4% raise, and one with a rating of 3 will receive a 6% raise. ****************** *************************** *************** // Salary.java // Computes the raise and new salary for an employee ********************************************* *************** import java.util.Scanner; public class Salary public static void main(String[] args) double current Salary; // current annual salary int rating; // performance rating (0 to 3) double raise; 11 dollar amount of the raise Scanner scan = new Scanner(System.in); // Get the current salary and performance Q8. How does a Standard User Account Differ from an Administrator Account? The Standard user cannot change any settings The Standard user account can only make changes to the local PC The Standard user can only change settings that affect their own account An Administrator Account can only be set up using Windows Server 09. Describe why do you need to back up? Q10. What you need to back up

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

Database Concepts International Edition

Authors: David M. Kroenke

6th Edition International Edition

0133098222, 978-0133098228

More Books

Students also viewed these Databases questions