Cash-back offer from April 14th to 21st, 2024: Get a flat 10% cash-back credited to your account for a minimum transaction of $50.Post Your Questions Today!

Question DetailsNormal
$ 28.00

Week 3 iLab—Calculate Overtime Pay | Complete Solution

Question posted by
Online Tutor Profile
request

Week 3 iLab—Calculate Overtime Pay


TCO 3—Given a simple problem, design and desk-check a solution algorithm requiring a modular design that is expressed in terms of pseudocode or program notes, input-process-output (IPO) analysis, and flow chart.
TCO 4—Given a simple problem that requires one or more decisions, create a working solution that uses decisions with logical and relational expressions.
TCO 8—Given a more complex problem, develop a complete solution that includes a comprehensive statement of the problem, complete program design, and program documentation.

Assignment  
You will need to design an application that it will prompt a user for his or her hourly pay rate; his or her hours worked; and whether he or she is single, married, divorced, or widowed. It will then calculate the user’s gross and net pay. If the user works more than 40 hours, overtime is calculated at 1 ½ times the regular rate and displayed separately. If he or she is married, use a flat tax rate of 15%. If he or she is single, use 22%; if he or she is divorced, use 23%; and if he or she is widowed, use 13% (I realize that these are not very realistic). Below is a sample of what the program should do when run.
(No overtime example)
Enter hourly pay rate: 10.00
Enter hours worked: 35
Enter letter for (M)arried, (S)ingle, (D)ivorced, (W)idowed: M
Gross pay is $350.00
Net pay is $297.50

(Overtime example)
Enter hourly pay rate: 10.00
Enter hours worked: 45
Enter letter for (M)arried, (S)ingle, (D)ivorced, (W)idowed: S
Regular pay is $400.00
Overtime pay is $75.00
Gross pay is $475.00
Net pay is $370.50

Rubric
Complete the steps and submit the completed file to the Dropbox.
1) Variable list & IPO chart
2) Flowchart
3) C# code


Please submit this file along with the complete project folder (in a zip file).

Game Seating Charges
Document    Points possible    Points received
Variable list & IPO Chart    10    
Flowchart    15    
Working program    25    
Total Points    50    
 
1)    Variable List & IPO Chart
List all variables you will use (use valid variable names). Indicate whether the data type is string, integer, or double, and so on.

 

List the inputs, any processes/calculations, and outputs. Use the same valid variable names you used in Step 1.

Inputs    Process (calculations)    Outputs
Payrate,
Hours Worked
Marital Status

 

 

 

 

 


    If > 40 hrs OT is 1.5*Payrate
If married tax rate is 15%
If Single tax rate is 22%
If divorced tax rate is 23%
if widowed tax rate is 13%    Overtime
Regular Pay
Gross Pay
Net Pay

2)    Psuedocode
Display netPay
Pseudocode:
Begin calculateOvertimePay
Declare CONSTANT OT_RATE = 1.5
DECLARE CONSTANT SINGLE _RATE = .22
DECLARE CONSTANT MARRIAGE_RATE = .15
DECLARE CONSTANT DIVORCED_RATE = .23
DECLARE CONSTANT WIDOWED_RATE = .13
DECLARE CONSTANT WORK_WK = 40
Declare Real Hourly Pay Rate = 0
Declare Real Hours Worked = 0
Declare String maritialStatus =”S”
Declare Real taxRate = 0
Declare Real grossPay = 0
Declare Real netPay = 0
Declare Real hourlyPay = 0
Declare Real overtimePay = 0
Calculate grossPay=HourlyRate*HoursWorked
Calculate overtimePay=HoursWorked-40*(HourlyRate*1.5)
Calculate taxRate=(grosspay+overtimePay)*.22
Calculate netPay=(grosspay+overtimePay)-taxRate
Display grosspay
Display overtimePay
Display taxRate
Display netPay
End
 

3)    Flowchart
 

4)    C# Code
Screen Shot of Running Program
Zipped Project File (submitted to DropBox)

Copy/paste your C# code here.

Paste a screenshot of the complete working program here.


Submit a separate zipped file to the Dropbox containing the complete project folder.

 

Available Answer
$ 28.00

[Solved] Week 3 iLab—Calculate Overtime Pay | Complete Solution

  • This Solution has been Purchased 1 time
  • Submitted On 07 Feb, 2016 05:50:43
Answer posted by
Online Tutor Profile
solution
Enter hourly pay rate: 10.00 Enter hours worked: 4...
Buy now to view the complete solution
Other Similar Questions
User Profile
Homew...

ECET210 Week 3 iLab with Questions | Complete Solution

Because, these values were calculated theoretically, the branch current is obtained with respect to the branch impedance, and finally, source current is obtained by taking total impedance of the circuit. So, the vector sum...

User Profile
Guard...

CIS 115 Week 3 iLab—Calculate Overtime Pay | Complete Solution | Scored 100%


payRate
hoursWorked
maritalStatus
    overtimeRate = payRate * 1.5
overtimePay = overtimeHours * overtimeRate
regularPay = hoursWorked * payRate
grossPay = regularPay &...

User Profile
Homew...

Week 3 iLab—Calculate Overtime Pay | Complete Solution

Enter hourly pay rate: 10.00 Enter hours worked: 45 Enter letter for (M)arried, (S)ingle, (D)ivorced, (W)idowed: S Regular pay is $400.00 Overtime pay is $75.00 Gross pay is $475.00 Net pay is $370.50 ...
User Profile
Exper...

NETW360 Week 3 iLab: Observing RF Activities | Complete Solution

Review Tutorial: Using Spectrum Analyzer Wi-Spy, located in Appendix A. 1. Name the three default views of Chanalyzer 3.4 that display RF activities from different perspectives. Answer:- Spectral view, topographic view and p...
User Profile
smart...

DEVRY CIS170B WEEK 3 ILAB | Complete Solution

/* Specification: First Name Last Name Lab 1 Exercise# This program calculates the scoring of a Diving Competition */ using System; using System.Collections; namespace DivingScoringProgram { class Program { ...

The benefits of buying study notes from CourseMerits

homeworkhelptime
Assurance Of Timely Delivery
We value your patience, and to ensure you always receive your homework help within the promised time, our dedicated team of tutors begins their work as soon as the request arrives.
tutoring
Best Price In The Market
All the services that are available on our page cost only a nominal amount of money. In fact, the prices are lower than the industry standards. You can always expect value for money from us.
tutorsupport
Uninterrupted 24/7 Support
Our customer support wing remains online 24x7 to provide you seamless assistance. Also, when you post a query or a request here, you can expect an immediate response from our side.
closebutton

$ 629.35