Write a program that calculates and displays the take-home

Assignment Help C/C++ Programming
Reference no: EM132368866

The Task: -

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

The output should display the individual's: -

a) Worker-Id -two(2) letters followed by three(3) digits(0-9).
b) The full name of the worker.
c) The total number of hours the individual logged in at work.
d) The gross pay in $FDollars. (Hours-worked * Pay Rate)
e) The tax deduction for the actual individual. (Gross * Tax-rate)
f) 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.

a) The Worker-ID
b) The worker's First name.
c) The worker's Middle names.
d) The worker's Surname
e) The total number of hours worked.
f) The extra minutes that were recorded by the Time Book.
g) 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 amounts.
• $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 program.
• The declaration and implementation/definition files should be separate from the main file.

Plan: -

Your plan should contain a: -

• Structure Chart

o Abstraction
o Sequence

• Decision tress
o Conditions
o Actions

• Loop Diagram
o Test Condition

C++ Codes: -

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

Reference no: EM132368866

Questions Cloud

Describing several different relevant economic issues : For our remaining Residency assignments, we will be researching, evaluating, and summarizing several different relevant economic issues.
Digital forensics tools and tech : Do a bit of research on-line. Find a criminal case that involved Digital Forensics.
Critical business functions and recovery point objectives : The disaster recovery plan and who is responsible at your place of employment. Consider the critical business functions and your recovery point objectives
Calculate the count using loop and inside elseif statement : Calculate the count of (1,1),(1,0),(0,1),(0,0). But your program does not work and You don't know why. You need to use for loop and inside elseif statement.
Write a program that calculates and displays the take-home : CSC501C++ PROGRAMMING FOR ENGINEERS - Calculates and displays the Take-Home Payof different individuals - Exception-handling
What are the benefits of doing a pilot program : ITS-836: Data Science and Big Data Analytics - What are the benefits of doing a pilot program before a full-scale rollout of a new analytical methodology?
Firms competing in perfect competition markets : Comment on the impact on the market and economic agents for firms competing in perfect competition markets and less-than-perfect competition markets.
Discuss the kinds of design strategies : Discuss the kinds of design strategies you will need to employ in building an online food ordering system that meets this persona's needs and expectations.
How does your self-awareness support success as a leader : Why is understanding yourself important in PERSONAL career development and how can you ensure that an employer will realize that you have a clear grasp

Reviews

len2368866

9/10/2019 3:01:08 AM

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

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd