Calculate net pay and totals from the inputs provided

Assignment Help Basic Computer Science
Reference no: EM13307270

Write a program to calculate Net Pay and Totals from the inputs provided below. The program should use a loop & prompt user for inputs shown.

Emp# Gross Pay Fed Tax State Tax Fica. Net Pay
2244 1650 247.50 49.50 3.30 -
2610 1800 270.00 54.00 3.60 -
2680 1470 220.50 44.10 2.94 -
2720 1660 249.00 49.80 3.32 -
2550 1500 225.00 45.00 3.10 -

I need the program to calculate the net pay of each emp# and I also need the total gross pay, fed tax, state tax, and fica.
netPay = gross - fedTax - stateTax - fica

 

Reference no: EM13307270

Questions Cloud

How high can students climb just before the pole buckles : Assuming the center of gravity of the student aligns with the axis of the pole and the pole has an elastic behabior, how high can they climb (in meters, m) just before the pole buckles
Describe the meaning of legal doctrine-respondeat superior : Describe the meaning of the legal doctrine, Respondeat Superior. Provide at least two examples of cases where the doctrine was applied and analyze whether or not the doctrine was applied fairly to each of the examples.
Obtain the contact area between each tire and the ground : The four tires on the author's car are inflated to an absolute pressure of 2.7x10^5 Pa. obtain the contact area between each tire and the ground
Determine the price elasticity of demand : The ECON3305 company was considering a price increase and wished to determine the price elasticity of demand
Calculate net pay and totals from the inputs provided : Write a program to calculate Net Pay and Totals from the inputs provided below. The program should use a loop & prompt user for inputs shown.
Evaluate the impact of globalisation : Working individually to evaluate the impact of globalisation on the value chain and purpose of assessment is to identify and analyse elements of the value chain and understand how they must interact to create value for the organisation.
Compute force fa on roller and x- and y-components at o : The uniform 30 kg bar OB is secured to the accelerating frame in the 30 degree position from the horizontal by the hinge at O and roller at A. if the horizontal acceleration of the frame is a equals 20 m/s^2
Consider the procedure described in adaptive playout delay : Consider the procedure described in "Adaptive Playout Delay" for estimating average delay di. Let r1 - t1 be the most recent sample delay, let r2 - t2 be the next most recent sample delay.
Determine her metabolic power : For exercise, a 60 kg athlete runs up a 10-m high hill in 30 seconds. Assume the efficiency of the human body is 25%. Determine her metabolic power

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Should you set in ta1ctl, and what corresponding

Which bits (including divisor bits) should you set in TA1CTL, and what corresponding countshould you set in TA1CCR0, to trigger an interrupt every 400 msec?

  Design a ram chip

Design a RAM chip that is 128K x 8. For each sub-part below, show the array of RAM cells and its dimensions, the decoder(s) required to access the array, and tabulate the numbers of gates required to implement the decoding.

  The args designate the range

The args designate the range [lo, hi]. If lo > hi, then that designates the empty range (no numbers), in which case outputA returns without outputting any numbers. Otherwise, outputA outputs all the numbers in the range that are interesting.

  Encode audio data in two packets

How might you encode audio (or video) data in two packets so that if one packet is lost, then resolution is simply decreased to what would be expected with half bandwidth?

  Convert following left recursion grammar intoright recursion

Convert the following left recursion grammar into right recursion: a)S->S0S|1 b)S->Aa|Bb ,A->Aa|bA|a, B->Bb|a

  How long will it take for input size

How long will it take for input size 500 if the running time is the following

  Find how many times will keyboard be checked in an hour

Assume the processor scans keyboard every 100 ms. How many times will keyboard be checked in the 8-hour period?

  Which search engine do you believe provided

Which search engine do you believe provided you the best results? Support your position by explaining why you believe the particular search engine to be better based upon your experience.

  Translate the following function into mips assembly language

Translate the following function into MIPS assembly language

  Designing a game system

Suppose that you are designing a game system that responds to players' pressing buttons and toggling joysticks. The prototype system is failing to react in time to these input events.

  Write an algorithm to compute a student average grade

Weight is 20, maximum score is 75 iii. Final exam - Weight is 30, maximum score is 100 As an example, if a student scores 100 on the Homework Assignments, 55 on the Midterm exam and 85 on the Final exam, then their average grade is rounded to 82.

  Explain local-state-national resources unintentional injury

Explain the local, state, and national resources that are available for addressing unintentional and intentional injuries in American communities.

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