Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Design a program to displays an employees weekly net pay. The user will enter the employees weekly gross pay. The user will enter the employees

Design a program to displays an employees weekly net pay. The user will enter the employees weekly gross pay. The user will enter the employees pay rate and hours worked. The program will first calculate the weekly gross pay. Please note that the employee might have worked overtime. You can assume that overtime is calculated using time and a half and that a normal work week is 40 hours. From the gross pay, the program will then need to subtract the appropriate taxes: FWT, FICA and state. For testing and design purposes, you can use 20% as the FWT tax rate for Federal Withholding Tax, 8% as the FICA tax rate for the Social Security and Medicare taxes, and 4% for the state taxes. Please note that these rates might change.

Problem Analysis: Provide your analysis for the required program. Your analysis should be clearly written and demonstrate your thought process and steps used to analyze the problem. Include the following subsections:

*What is the required output?

*What are the necessary inputs?

Program Design: Specifically address each of the following points:

*Flowcharts for each module

*Complete pseudocode for the program

Test Cases: Provide four different test cases, presenting the inputs and required outputs for each case, and the resulting action of the program. Include two cases of invalid inputs. Present your test cases in a table.

Program Code: Provide the actual Java code called Project1.java for this project.

Submission Requirements for Projects:

You will submit three files for this project. You will have your Word document, which will have your Program Analysis, Program Design pseudocode, and your Test Cases. You will also submit your flowchart file(s) (This could be included in your Word document) and your Java file for your Program Code.

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

Readings In Database Systems

Authors: Michael Stonebraker

2nd Edition

0934613656, 9780934613651

More Books

Students also viewed these Databases questions