Swamped with your writing assignments? Take the weight off your shoulder!
Submit your assignment instructions
In a Word document, describe the object-oriented features of your Java program in a minimum of 200 words. Paste the image of your results. Submit your Word document to Waypoint for grading. The word doc is the main focus of this as I have the zipfile already, which I will attach. I am hoping it works as I am still new at this but if you see anywhere for improvement please let me know or feel free to work it. The rest below is just the assignment for the actual zip file so that you have full understanding of what the word doc should have.
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 employee’s weekly gross and net pay. The program must prompt the user to enter the employee’s 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.
In the input section, utilize Java syntax and techniques to input the employee’s 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 CalculationDownload Pay Calculation table.
In the processing section, the following calculations will need to be performed in the processing section:
Gross pay if hours worked are 40 hours or less = hours worked * rate of pay
Gross 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 employee’s rate of pay is $10.00.
((55 – 40) * (10 * 1.5)) + (40 * 10) = 625
The gross pay is $625.
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 pay
State Tax amount = state tax rate * gross pay
Medicare amount = Medicare rate * gross pay
Social Security amount = social security rate * gross pay
Unemployment Insurance amount = unemployment insurance amount * gross pay
Total deductions = Federal Tax amount + State Tax amount + Medicare amount + Social Security amount + Unemployment Insurance amount
The net pay amount is calculated as follows:
Net pay = gross pay amount – total deductions
The Java program should display the following information:
Rate of Pay
Total amount of deductions
Your code must include the following as comments:
Name of program (Calculate Pay Program)
Student’s name (Charity)
Course name and number (CPT 307 Data Structures & Algorithms)
Instructor’s name (Joshua Reichard)
Date submitted (10/25/2022)
Take a screen shot of the results page and save the image. When you are finished with your Java program, zip the file(s). Next, submit the zip folder that contains the running source code to the Week 1 Zip File Submission page. If you need more guidance, review the Zip File Quick Start GuideDownload Zip File Quick Start Guide. Be sure that you are sharing the zip folder with your instructor only. Your instructor will run your source code to ensure that the functionality runs correctly.