You will need to design an application that it will prompt


Calculate Overtime Pa

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

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

Submit a separate zipped file containing the complete project folder.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: You will need to design an application that it will prompt
Reference No:- TGS02794214

Now Priced at $10 (50% Discount)

Recommended (92%)

Rated (4.4/5)