2023 Unit 2 Individual Project Payroll Determine Employee Pay Business Problem You have been hired by a small | Assignment Collections
Computer Science 2023 project
2023 Unit 2 Individual Project Payroll Determine Employee Pay Business Problem You have been hired by a small | Assignment Collections
Unit 2 Individual Project – Payroll: Determine Employee Pay
Business Problem:
You have been hired by a small business to help in the development of their Payroll Application. This initial design will calculate an employee’s Gross Pay and Net Pay.
The application will prompt a user for their hourly pay rate, their hours worked, and whether they are single, married, divorced, or widowed. It will then calculate their Gross and Net Pay.
If they work 40 hours or less, the application will display their Gross Pay followed by their Net Pay.
If they work more than 40 hours, overtime pay, or the hours above 40, is calculated at 1 ½ times the regular rate. The application will then display their Regular Pay, their Overtime Pay, their Gross Pay (a sum of the Regular Pay and Overtime Pay) and their Net Pay.
If they are married, use a flat tax rate of 18%.
If they are single, use 25%.
If they are divorced, use 28%.
If they are widowed, use 15%.
Example of Overtime Pay:
Enter Employee’s Hourly Rate: 25
Enter the Employee’s Total Hours Worked: 50
Enter the Employee’s Marital Status, within quotes (M, S, D, W): “S”
Regular Pay = $1,000.00
Overtime Pay = $375.00
Gross Pay = $1,375.00
Net Pay = $1,031.25
Example of No Overtime Pay:
Enter Employee’s Hourly Rate: 25
Enter the Employee’s Total Hours Worked: 30
Enter the Employee’s Marital Status, within quotes (M, S, D, W): “M”
Gross Pay = $750.00
Net Pay = $615.00
SUBMIT:
A. THIS WORD DOCUMENT CONTAINING (on the next pages):
1. A COMPLETED IPO CHART
2. THE PSEUDOCODE
3. A SNAPSHOT OF THE VISUAL LOGIC FLOWCHART
4. A SNAPSHOT OF THE OUTPUT
Rename the document with your name in place of Last Name, First Name
B. YOUR VISUAL LOGIC VLS FILE
HINTS: Be sure to use Decision Control Structures! Use the Examples above to test your code!
IPO Chart:
Input |
Processing |
Output |
|
|
|
Pseudocode:
Flowchart:
Output:
We give our students 100% satisfaction with their assignments, which is one of the most important reasons students prefer us to other helpers. Our professional group and planners have more than ten years of rich experience. The only reason is that we have successfully helped more than 100000 students with their assignments on our inception days. Our expert group has more than 2200 professionals in different topics, and that is not all; we get more than 300 jobs every day more than 90% of the assignment get the conversion for payment.