Program to display weekly payroll report

Assignment Help Programming Languages
Reference no: EM1344718

Q1) Write down a program to 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 total for gross pay, stated tax, federal tax,

FICA witholdings and net pay.

** INPUT VALIDATION: DO NOT ACCEPT NEGATIVE NUMBERS FOR ANY OF THE ITEMS ENTERED. IF THE STATE TAX + FEDERAL TAX + FICA

WITHOLDINGS FOR ANY EMPLOYEE IS GREATER THAN GROSS PAY, PRINT AN ERROR
AND ASK THE USER TO REENTER THE DATA FOR THAT EMPLOYEE **

 

Reference no: EM1344718

Questions Cloud

What is the opportunity cost of debt for these bonds : What is the opportunity cost of debt for these bonds and what price should these bonds sell for in the market
Speculating with currency futures : Speculating with Currency Futures: Suppose that a March futures contract on Mexican Peso was available in January for $.09 per unit. Also suppose that forward contracts were available for same settlement date at a price of $0.092 per peso.
Compute the magnitude of the friction force : It is 155cm from your eyes to your toes. You're standing 190cm in front of the tall mirror. How far is it from your eyes to the image of your toes.
Calculate capital charge per procedure : You have obtained a new CT scanner at a cost of $750,000. You expect to perform 7,000 procedures per year over the estimated five year life of scanner.
Program to display weekly payroll report : Write down a program to display a weekly payroll report.
Describe what profit or loss would the investment banker : Describe what profit or loss would the investment banker incur if the issue were sold to the public at an average price of $25 per share?
Find the standard deviation of return : Find the standard deviation of this return and show your answer as a percentage to three decimal places
Find the present value of the lease : You are planning a five-year lease of office space for R&D personnel. Once signed, lease cannot be canceled. It would commit your company to six yearly $100,000 payments with the first payment due immediately.
Direct-indirect foreign investment : What are some advantages and disadvantages of different types of direct and indirect foreign investments?

Reviews

Write a Review

Programming Languages Questions & Answers

  Accuracy and completeness of computations

Analysis right and you have to develop a plausible argument to "prove" that your analysis is correct

  Write a program that uses the curve class hierarchy

Write a program that uses the curve class hierarchy. The program should define several different objects, output their area, circumference, etc. It should also use the printcurve function.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Statement to read variables of type double

Suppose two variables p1 and p2 of type POINT, with two fields, x and y, both of type double, have been declared. Write a statement that reads values for p1 and p2 in that order.

  Use of various bash commands

Assignment On: This work will require scripting the use of various bash commands and / or small programs that involve directory and file structures.

  Compute the product xy

Given two integers X and Y compute the product XY (multiplication), the quotient X=Y (integer division), and the modulus X (mod Y) (remainder).

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Learn redirecting standard output

Learn redirecting standard output (stdout) to a file using the output redirection operator

  Explaining object hierarchy in object-oriented programming

Study the concept of inheritance and the object hierarchy in object-oriented programming, and write a paper comparing these concepts with the concept of inheritence.

  Creating table-find employee attended meeting on given date

The rows of this table record the fact that an employee from a particular project attended a meeting on the given date.

  Defining method dashedline with one parameter

Write a definition of method dashedLine, with one parameter, an int .

  Creating loop to find number of items bought based on price

Make a block using a loop that will find the number of items that can be bought based on the price of the item and the total amount available to spend.

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