Friday
April 18, 2014

Homework Help: computer

Posted by f pass on Monday, January 23, 2012 at 3:57pm.

You will need to design an application that will prompt a user for his or her hourly pay rate, 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 the user is married, use a flat tax rate of 15%. If the user is single, use 22%, if divorced, use 23%, and if widowed, use 13% (I realize that these are not very realistic). Here 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

Answer this Question

First Name:
School Subject:
Answer:

Related Questions

computer programming - . Design an application that displays the number of ...
Computer - Design a program that generates the sum of numbers. Given a number (...
IT - Can someone help me with this? Design an application or site that presents ...
Computer Science - Design a GUI java application which dsipalys data of an array...
AIU - You are the lead human–computer interaction (HCI) engineer on a major ...
computer literacy - what is an application program included with Windows that ...
science - In 1960 physicist Theodore Maiman constructed the first working laser....
design - In an effort to promote a better understanding of what design is and ...
computer science - in visual logic You will need to design an application that ...
Computer Programming Design - I really need someone to help me with this.I post ...

Search
Members