[Solved] CPT307 Week 1 Pay Calculator

$25

File Name: CPT307_Week_1_Pay_Calculator.zip
File Size: 263.76 KB

SKU: [Solved] CPT307 Week 1 Pay Calculator Category: Tag:
5/5 - (1 vote)

For this assignment, you will take on the role of software developer as part of a team of developers for a retail company. The payroll manager of the company has tasked you with developing a Java program to quickly calculate an employees weekly gross and net pay. The program must prompt the user to enter the employees name, rate of pay, and hours worked. The output will display the information entered into the program along with the calculations for gross pay, total amount of deductions, and net pay.In this coding assignment, you will utilize the Java syntax and techniques you learned while reviewing the required resources for Week 1. You may select appropriate variable names as long as proper Java syntax is used. You will also submit your source code.Input:In the input section, utilize Java syntax and techniques to input the employees name, rate of pay, and hours worked. The input should be completed either via keyboard or via file. As a last resort, the data can be hard-coded into the program.The input for this calculation is in the Pay CalculationPreview the document table.Processing:In the processing section, the following calculations will need to be performed in the processing section:Gross Pay:Gross pay if hours worked are 40 hours or less = hours worked * rate of payGross pay if hours worked are greater than 40 hours = ((hours worked 40) * (rate of pay * 1.5)) + (40 * rate of pay)Example Employee worked 55 hours. The employees rate of pay is $10.00.((55 40) * (10 * 1.5)) + (40 * 10) = 625The gross pay is $625.Deductions:Deductions are calculated based upon the following rates:Federal Tax = 15%State Tax = 3.07%Medicare = 1.45%Social Security = 6.2%Unemployment Insurance = .07%The following calculations are used to calculate each deduction:Federal tax amount = federal tax rate* gross payState Tax amount = state tax rate * gross payMedicare amount = Medicare rate * gross paySocial Security amount = social security rate * gross payUnemployment Insurance amount = unemployment insurance amount * gross payTotal deductions = Federal Tax amount + State Tax amount + Medicare amount + Social Security amount + Unemployment Insurance amountNet Pay:The net pay amount is calculated as follows:Net pay = gross pay amount total deductionsOutput:The Java program should display the following information:Employee NameRate of PayHours WorkedOvertime WorkedGross PayTotal amount of deductionsNet Pay

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] CPT307 Week 1 Pay Calculator
$25