Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C programming only Program Specifications: This program requires the student to design and write a C program. The program will compute payroll for an individual.

C programming only

Program Specifications:

This program requires the student to design and write a C program.

The program will compute payroll for an individual.

The program will assume that the person gets paid every Friday (in other words he gets paid every week).

The input will be the persons Hourly Wage and Hours Worked.

The output will be as follows (sample output):

Hourly Rate:

Hours Worked:

Regular Pay:

OT Pay:

Gross Pay: Federal Tax (27%):

Medical Insurance (14%):

Net Pay:

You will take the INPUT and COMPUTE THE OUTPUT

  • Regular Pay. Based on United States of America Labor Laws and the INPUTS
  • Overtime Pay. Based on United States of America Labor Laws and the INPUTS
  • Gross Pay. That is nothing less than the Regular pay combined with the Overtime pay
  • Federal Tax. Use the percentage above and the Gross Pay
  • Medical Insurance. Use the percentage above and the Gross Pay
  • Net Pay. Take the Gross Pay and deduct the deductions from above.

NEW RULES

The only code permitted within main:

  • Declare variables
  • Menu System
  • Function Calls

You will take the old payroll assignment and change everything into function and function calls.

Submission Requirements:

  • You are to write your c source code within a Visual Studios Project Folder. You can place your design tool within the SRC folder. You can send the project to the Windows Compress Feature. You can then attach the zipped document to the canvas assignment thread.

OR

  • You are to write your source code and create a c source code document. You are to create your design tool. You are to attach the *.c source code and your design tool document to the Canvas assignment thread.

YOU CANNOT:

  • Use global variables
  • Use the word goto
  • Use the break command outside a case statement

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David Kroenke, David J. Auer

3rd Edition

0131986252, 978-0131986251

More Books

Students also viewed these Databases questions

Question

f. Did they change their names? For what reasons?

Answered: 1 week ago