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

  Implement a function to recursively

Implement a function to recursively determine if a word is a palindrome. A palindrome is a word, phrase, number, or other sequence of symbols or elements, whose meaning may be interpreted the same way in either forward or reverse direction.

  Create a graphical (not text-based) visual c++ program

Create a graphical (not text-based) Visual C++ program that allows the user to enter the coefficients for a system of four equations with four unknowns. Include a button that when clicked, will solve the system of equations and display the results in..

  Implement circular linked list in c program

implement circular linked list in c program in the best possible easiest way.

  Convert celsius temperatures to fahrenheit temperatures

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

  Use functional decomposition to solve

Use functional decomposition to solve this problem, and code the solution using functions wherever it makes sense to do so. Your program should check for invalid data such as nonpositive dimensions, number of rooms less than 1.

  The first will be a structure called point

Create two structures. The first will be a structure called Point and will have as its data members an x and y coordinate. The second will be called Line and will have two Point structures as its data members.

  Include a main function that will solicit

Include a main function that will solicit a DNA sequence string from the user, call the genes function to obtain all the genes in the sequence and print each one on the console display

  Randominrange() function that accepts two integer

Write a randomInRange() function that accepts two integer parameters. The parameters will represent the low number and the high number (both inclusive) in the random range. For example, when the function receives 3 and 8.

  A perfect solution is impossible or too expensive

Optimization is often encountered in engineering problems. More often than not, a perfect solution is impossible or too expensive to find and implement. Therefore, we resort to sub-optimal, yet useful, solutions. This assignment tackles a classical p..

  Create a program that draws a two-dimensional house

Create a program that draws a two-dimensional house seen from the front, the way a child would see it: with a door, two windows, and a roof with a chimney

  Implement method to advance any given date by one day

Write C++ implementation of this method. Create and specify any other methods that you require. Include comments which will be helpful to someone who will maintain implementation in the future.

  C program to compute parking fare for customers

Write C program to compute parking fare for customers who park their cars in parking lot when following information is provided: A character showing type of vehicle: C for car, B for bus and T for truck

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