Question: #817

CIS115 Complete Course Project Complete Solution Scored

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 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 rates 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).

iLab Activity
Document    Points possible    Points received
Variable list and IPO chart    10   
Flowchart    15   
Working program    25   
Total Points    50   
 
(1)Variable List and IPO Chart
List all the 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



(2)Flowchart
Use MS Visio to create a flowchart. Paste the flowchart here, or attach it as a separate document. Use the same valid variable names you used in Step 1.


(3)C# Code
Screen shot of running program
Zipped project file (submitted to Dropbox)

Copy and 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.

Solution: #822

CIS115 Complete Course Project Complete Solution Scored

1.    Current IPO chart and pseudocode
2. &n...

Tutormaster
Rating: A+ Purchased: 11 x Posted By: Orginator
Comments
Posted by: Orginator

Online Users