User for the employee number

Assignment Help Basic Computer Science
Reference no: EM131934348

Help with writing 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 reenter the data for that employee.

Reference no: EM131934348

Questions Cloud

Discuss the justification for the project : Determine a project, but you should have knowledge of the project's objective.Discuss the justification for the project.
Which specific skill do you believe is the most important : Which specific skill do you believe is the most important? The second most important?
How to manage people based on the diverse personalities : What are the benefits of knowing how to manage people based on their diverse personalities, backgrounds, communication style, and other individual elements?
Risk weight for residential housing loan according to pillar : What are the factors that determine the risk weight for a residential housing loan according to Pillar 1 of Basel II?
User for the employee number : Help with writing a program that displays a weekly payroll report. A loop in the program should ask the user for the employee number
Capital required to support letter of credit facility : If the bank supervisor’s credit conversion factor is 20%, find the dollar value of capital required to support this letter of credit facility.
What were the new innovations of the nike : What were the 2 new innovations of the NIKE to attract customers over the past year or two? Discuss any two types of international strategies followed.
Take a position favoring or opposing shadow it : If you are not in favor, provide one way that the organization can reduce the risks of shadow IT.
Recent marketing push soliciting international business : After a recent marketing push soliciting international business,

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Standards research ieee-iso-ansi

Select one (1) of the working groups in the IETF or IEEE and briefly summarize what this group is working on.

  Implement your design with mfc and direct-3d

For the line defined in Exercise 1, define a velocity that is the same as the slope of the line: once created, the line will travel along the direction defined by its slope. Use the length of the line as the speed. (Note that longer lines travel f..

  Determine how long it will take this plate to cool to 540°c

A flat, stainless steel plate is 0.6 cm thick, 7.5 cm wide, and 0.3 m long is immersed horizontally at an initial temperature of 980°C in a large water bath at 100°C and at atmospheric pressure. Determine how long it will take this plate to cool t..

  Briefly discuss the ballot problem

Consider a two-candidate election in which the winner received a fraction p of the vote. If the votes are counted sequentially.

  Development tools for cloud solutions

Explain the benefits and drawbacks of using software development tools provided by cloud vendors to develop cloud-based solutions for an organization.

  Altitudes from p onto the sides

Let ABCD be a convex quadrilateral. Let the diagonals AC and BD intersect in P. Let P E, P F, P G and P H be the altitudes from P onto the sides AB, BC, CD and DA respectively. Show that ABCD has an incircle if and only if1P E+1P G =1P F+1P H

  Design the server to handle clients concurrently

Note that all of the work of authenticating the user and starting a login shell can be dealt with in each server child by having the (grand)child created by ptyFork() go on to exec login(1).

  How to express a natural full outer join b

Make sure that the result relation does not contain two copies of the attributes name and address, and that the solution is correct even if some tuples in a and b have null values for attributes name or address.

  Online course delivery system

Imagine that you are on a team that has been tasked with creating an online course delivery system. One of your coworkers wants to model the entire course in UML. Another coworker disagrees with the use of UML and would rather use pseudocode exclu..

  Green-yellow-red color scale conditional formatting

Use 'Green-Yellow-Red' Color Scale Conditional Formatting on the Order Quantity (Shelves) column.

  Eavesdropping on a telephone call

Eavesdropping on a telephone call, known as wiretapping, is illegal in the United States unless a court order has been issued.

  Determine the time necessary to reach a velocity

A square tank, 3 m on a side, is filled with water to a depth of 2 m. A vertical slot 6 mm wide from the top to the bottom allows the water to drain out. Determine the height h as a function of time and the time necessary for one half of the water..

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