logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Thaissa LannesLaw
(5/5)

982 Answers

Hire Me
expert
Fiona EwingStatistics
(5/5)

851 Answers

Hire Me
expert
Zaiden GarzaResume writing
(5/5)

546 Answers

Hire Me
expert
ISAAC SSEKISAMBUPolitical science
(/5)

818 Answers

Hire Me
C++ Programming

write a program that calculates and displays the Take-Home Pay of different individuals.

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Assignment Details: - 

  • Upload your assignment on the Link provided in Moodle.

  • You are going to submit both your plan (MS-Word) and your source code (DevC++).

  • You will need to compress first before you submit.

 

The Task: -

You are going to write a program that calculates and displays the Take-Home Pay of different individuals.

The output should display the individual’s: -               

  1. Worker-Id –two (2) letters followed by three (3) digits (0-9).

  2. The full name of the worker.

  3. The total number of hours the individual logged in at work.

  4. The gross pay in $FDollars. (Hours-worked * Pay Rate)

  5. The tax deduction for the actual individual. (Gross * Tax-rate)

  6. The Take-Hom pay which is the amount left after Tax has been deducted.

 

The following should be provided by the user running the program.               

  1. The Worker-ID

  2. The worker’s First name.

  3. The worker’s Middle names.

  4. The worker’s Surname

  5. The total number of hours worked.

  6. The extra minutes that were recorded by the Time Book.

  7. The Pay-Rate for each of the individual worker.

Other Details: -

  1. There legitimate number of hours worked should be between seventy (70) and eighty-four (84); inclusive.

  2. The legitimate pay-rate should be between $10.50/hour and $41.20/hour; inclusive.

  3. The tax table is shown below

Gross Pay

Tax- Rate(%)

<$1150.00

0

<$2300.00

5

<$3400.00

10

>=$3400.00

15

Program Specifications

 

  • The Gross-Pay thresholds should be declared as constants.

  • The Rate-should be declared as constants.

  • Exception-handling – the program should allow only legitimate Pay-Rate and Hours-worked

  • $FDollars show two decimal places every time they are displayed.

  • The user should be able to process as many pays as they wish to, before exiting.

  • The program should have at least three functions declared, implemented/defined and called from the main

  • The declaration and implementation/definition files should be separate from the main file.

 

Plan: - 

Your plan should contain a: -

  • Structure Chart

  • Abstraction

  • Sequence

  • Decision tress

    • Conditions

    • Actions

 

  • Loop Diagram

    • Test Condition

C++ Codes: -

 The codes and comments in your Dev C++ file should correspond very well to what you had in your plan.

 

MARKING-SCHEME

Criteria

Mark

Criteria

Mark

 

Compile

3

Separation of Files

4

 

Run accurately

4

Structure Chart

5

 

Documentation

3

Decision Tree

4

 

Style

3

Loop Diagram

4

 

Exception Handling

4

Correspondence

6

 

TOTAL

17

 

23

40

 

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme