Reference no: EM13945496
You will need to develop the IPO Chart, flowchart, and pseudocode for an application that it 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 more than 40 hours, overtime is calculated at 1 ½ times the regular rate and displayed separately. If they are married, use a flat tax rate of 15%. If they are single, use 22%, if they are divorced, use 23%, and if they are widowed, use 13% (I realize that these are not very realistic). Note: All employees get paid for overtime worked.
Here is a sample of what the program should do when run:
Example 1: No Overtime Hours
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
Example 2: Overtime Hours
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
IPO TABLE
Input
|
Process
|
Output
|
Hourly Pay Rate
|
Get User Input
|
Hourly Pay Rate
|
Hours Worked
|
Calculate hours worked (* 10)
|
Hours worked
|
Enter letter for (M)arried, (S)ingle, (D)ivorced, (W)idowed: M
|
Add status
|
Taxed Purchase
|
Gross Pay
|
Calculate Gross Amount
|
Tip Amount
|
Pseudo Code
Input HourlyPayRate
Input HoursWorked
Input AddStatus
Compute HoursWorked as HourlyRate * 10
Flow Chart
Reciprocating aircraft engine
: This activity will involve researching the operation or a major component of a reciprocating engine. Research concerning the operation of a reciprocating engine can be on valves, valve overlap, compression ratio, or the different types of horse p..
|
War can stimulate economic growth
: There is a longstanding belief that war can stimulate economic growth. In fact, many actually believe that it was all of the weapon production for World War II that got the United States out of the Great Depression. While this is a common belief, ..
|
Contrast economic effects of chosen international agreement
: Contrast the economic effects of your chosen international agreement on the developing world with the effects on industrialized countries.
|
Research paper aircraft turbine engine
: This activity will involve researching a concept or component related to the turbine engine lubrication system. The concept can be on the different types of synthetic oils used in turbine engines or an explanation of oil analysis. It can be on a c..
|
Develop the ipo chart, flowchart, and pseudocode for an app
: You will need to develop the IPO Chart, flowchart, and pseudocode for an application that it will prompt a user for their hourly pay rate, their hours worked, and whether they are single, married, divorced, or widowed.
|
Determine autonomous consumption expenditure
: Determine autonomous consumption expenditure, autonomous investment expenditure, and the marginal propensity to consume.
|
What is the maximum amount of american dollars you can get
: In Byteland they have a very strange monetary system. What is the maximum amount of American dollars you can get for it?
|
Which policy is better for government during a recession
: Keynesian economists would suggest that, during a recession, the government should use stimulus efforts to help support the economy during that recession. Explain which perspective, Keynesian or Austerity, is better policy for government during a r..
|
Why is vapor pressure of a compound important in remediation
: What kind(s) of technology is good for removing contamination from deep seated sites in the subsurface with high concentration of contaminants and why?.
|