Payroll and uses the selection construct

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

This problem involves payroll and uses the selection construct. A possible restatement: An hourly employee's regular payRate is $16.78/hour for hoursWorked <= 40 hours. If hoursWorked > 40 hours, then (hoursWorked -40) is paid at an overtime premium rate of 1.5 * payRate. FICA (social security) tax is 6% and Federal income tax is 14%. Union dues of $10/week are withheld. If there are 3 or more covered dependents, $15 more is withheld for dependent health insurance.

a) Write a program (Object Oriented) that, on a weekly basis, accepts hours worked then outputs gross pay, each withholding amount, and net (take-home) pay.
b) Add 'repeat at user discretion' feature.

Reference no: EM13168049

Questions Cloud

State temperature dependence of the autoionization of water : Consider the autodissociation of water as the behavior of an Arrhenius acid. Use this to explain the temperature dependence of the autoionization of water
Preparing a high level language program : Describe the purpose of each step in preparing a high level language program for execution (editing, compiling, linking, and loading).  Include in your description the types of files created with each of the first three steps.?
Calculate the yield of a wafer : Calculate the yield of a wafer with a 15 cm diameter, a cost of 12, contains 84 dies and has a 0.020 defects/cm^2
Explain what would you expect for the kinetic energy : Light with a wavelength of 330nm shines on a piece of metal with a threshold energy of 4.60 eV. What would you expect for the kinetic energy
Payroll and uses the selection construct : This problem involves payroll and uses the selection construct. A possible restatement: An hourly employee's regular payRate is $16.78/hour for hoursWorked
Compute the percent of the rdi : The student ended up calculating that he/she has 2.19 ppm of Vitamin B2 in the diluted sample. Calculate the percent of the RDI of Riboflavin satisfied by consuming this tablet
Design an ethernet network to connect a single client pc : Design an Ethernet network to connect a single client PC to a single server.  The two devices are 410 feet apart.  They need to communicate at 800 Mbps.  Your design will specify the locations of switches and the transmission line between the switche..
Explain what is the calorimeter constant : If the final temperature of the system is 59.4 oC, what is the calorimeter constant (Ccalorimeter) ? Use 4.184 J/goC for the heat capacity of water.
Returns true if a string contains properly nested : Give an algorithm that returns true if a string contains properly nested and balanced parentheses, and false if otherwise. Hint: At no time while scanning a legal string from left to right will you have encountered more right parentheses than left..

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Add a sentinel command to stop the loop

add a sentinel command to stop the loop. When the program is compiled, It'll ask the user to type in a palindrome. I want the user to type EXIT to end the loop.

  Complete the payroll program with following driver object

complete the payroll program with the following driver objects.

  Local diner that allows customers to see the diner''s menu

Design a program to be used for a small local diner that allows customers to see the diner's menu and then make their meal selections using the program.The program will also calculate and print an itemized bill.

  Draw a two-dimensional house seen from the front

Draw a two-dimensional house seen from the front, the way a child would: with a dor, two windows, and a roof with a chimney

  Prepare an accounting for a dorm''s kitchen

The "purpose" of the program is to prepare an accounting (database) for e.g. a dorm's kitchen, to keep track of the consumption of beer for each room.

  In competitive tournament

In competitive tournaments, it is common for all the players or teams to play in a series of matches in order to determine a single winner of the entire tournament. However, a number of different tournament formats exist. Here, we will concern our..

  Design is known, what advantages does keeping

Given that the design is known, what advantages does keeping the source code unavailable give the company and those who purchase the software? What disadvantages does it cause?

  Test a program that prompts for the user

Write and test a program that prompts for the user to input a file name and uses two functions head() and tail() - head() displays the first 10 lines of a file

  Design and implement a library system

Design and implement a library system that does the following: ? Takes details of a student/library users: first name, last name, other names, user ID number, and nationality.

  Least number of comparisons needed

What is the least number of comparisons needed to sort an array of 6 numbers, in the worst case, using any sorting algorithm that sorts with binary comparisons? Explain

  How a base version of this assignment works

For this assignment you are to create an interactive moving sign in the context of a cityscape street scene. Click the link below to see how a base version of this assignment works. Type a message in the long blank slot at the top left, and then clic..

  Write a program for find greatest common divisor

Write code for a recursive implementation of Euclid's algorithm

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