Write a program that displays a weekly payroll report

Assignment Help Basic Computer Science
Reference no: EM131236374

Write a program that displays a weekly payroll report. A loop in the program should ask the user for the employee number, gross pay, state tax, federal tax, and FICA withholdings. The loop will terminate when 0 is entered for the employee number. After the data is entered, the program should display totals for gross pay, state tax, federal tax, FICA withholdings, and net pay. Input Validation: Do not accept negative numbers for any of the items entered. Do not accept values for state, federal, or FICA withholdings that are greater than the gross pay. If the sum state tax + federal tax + FICA withholdings for any employee is greater than gross pay, print an error message and ask the user to re-enter the data for that employee.

Reference no: EM131236374

Questions Cloud

Program to let the user enter a series of integers : Write a program with a loop that lets the user enter a series of integers. The user should enter -99 to signal the end of the series. After all the numbers have been entered, the program should display the largest and smallest numbers entered.
Which type of audit is the least complicated for taxpayers : Which type of audit is the least complicated for taxpayers? A $2,000 deposit to a tax-deferred retirement account for a person in a 25 percent tax bracket would result in a reduced tax bill of.
People of britain think of the empire of that time : What did the people of Britain think of the Empire of that time?
Create a timeline in microsoft word : Part 1: Create a timeline in Microsoft Word that covers at least four major events that defined the 1960s.
Write a program that displays a weekly payroll report : If the sum state tax + federal tax + FICA withholdings for any employee is greater than gross pay, print an error message and ask the user to re-enter the data for that employee.
Calculate the maximum fanout for the output low condition : Determine i1, i3, i4, and v for (i) vX = 0.1 V, vY = 3.3 V and (ii) vX = vY = 3.3 V. - Calculate the maximum fanout for the output low condition such that Q1 remains biased in saturation.
Important observation on sadler report : Q1. Were there any details in the hearings from which you can make an important observation on sadler report Q2. Who was the intended audience of the hearings?
Calculate the monthly interest : After the last iteration, the program should display the ending balance, the total amount of deposits, the total amount of withdrawals, and the total interest earned.
Is it important that they have access to the site : Visit the site, observe the place, take notes on how people interact with each other, what's going on, and ask people about how this particular place relates to them. What does it mean for them to have this particular site available in their commu..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Agile project management

Explain what your iteration 0 would accomplish after your feature-story example is released.

  Describe and contrast maintenance and validation

Describe and contrast maintenance and validation techniques.

  Evaluate both infix and postfix expressions

You are to extend the calculator so that it gives the user the option of entering expressions in infix notation or postfix notation (a.k.a. Reverse Polish notation). In order to accomplish this, you will need to perform the following tasks:

  Cost of a planned renovation and expansion of facility

Then negative cash flow in year 5 reflects the cost of a planned renovation and expansion of the facility. Finally, in year 10, Garmen estimates some recovery of its investment at the close of the lease, and consequently a higher-than-usual cash f..

  Design a module

Design a module, using pseudocode, named getNumber, which uses a reference parameter variable to accept an Integer argument. The module should prompt the user to enter a number and then store the input in the reference paramter variable.

  Why punctuation is included in the language

As a hint, consider the parentheses that surround the predicate of an if statement.

  Express d as a function of t

a) Let h be the distance between the lighthouse and the ship. Let d be the distance from the ship has travelled since 1pm. Express h as a function of d. b) Express d as a function of t, the time elapsed since 1pm.

  Number of beds available and other amenities

The room descriptor will include the type, number of beds available, and other amenities. Event or conference rooms may also be reserved. Each hotel will allow a certain percentage of overbooking (10%)because of the numerous no-show reservations t..

  Show that every n node binary search tree is not equally lik

Show that every n-node binary search tree is not equally likely (assuming items are inserted in random order), and that balanced trees are more probable than straight-line trees.

  A mobile app has to dynamically select an encryption

A mobile app has to dynamically select an encryption algorithm based on security requirements and computing time constraints.

  Find the necessary bucket depth d

Note that r takes only positive integer values. Assume the bucket is initially full.

  Use of authentication types techniques impact security

Explain how the use of authentication types techniques impact security

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