Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need to code this program and Im a bit stuck and this is what Ive done so far. I dont know what to add

I need to code this program and Im a bit stuck and this is what Ive done so far. I dont know what to add or remove.
image text in transcribed
image text in transcribed
image text in transcribed
Write a program that calculates and prints the monthly paycheck for an employee. The net pay iS calculated after taking the following deductions Federal Income Tax: 15% State Tax: 3.5% Social Security Tax: 5.75% Medicare/Medicaid Tax: 2.75% Pension Plan: 5% Health Insurance: $75.00 Your program should read the input (the gross amount and the employee name) for 5 employers from a file 8111 Robinson June Tausan ema1 Hessian Omar Ahmed Raj Bhatnagar 785.87 6789.89 7864.90 6789.78 The output will be stored in a file. Format your output to have two decimal places. A sample output follows: Emp,Output Natepad Robinson Bi11 575.74 Gross Amount Federal Tax: State Tax: Social Security Tax: Medicare/Medicaid Tax: 98.33 Health Insurance: Net Salary Tausan June 2356.50 Gross Amount: Federal Tax: State Tax: Socfal Security Tax: Medicare/Medicaid Tax: Health Insurance: Net Salary Hessian Jemal 3859.39 6789.89 Gross Amount: Federal Tax: State Tax: Social Security Tax: Medicare/Medi caid Tax:186.72 Pension Plan: Health Insurance: 1018,48 -237.65 390.42 339.4 5.00 4542.13 Net Salary Ahmed Omar Gross Amount: 7864.90

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning Databases With PostgreSQL From Novice To Professional

Authors: Richard Stones, Neil Matthew

2nd Edition

1590594789, 978-1590594780

More Books

Students also viewed these Databases questions