Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please give instructions how to do on eclipse need java code Please tell me steps how to start how to get output as .txt when

Please give instructions how to do on eclipse need java code
Please tell me steps how to start how to get output as .txt when code runs. need al instructions need in JAVA
or send me .txt and .java files instead of image! I need to run and show code in class
image text in transcribed
1. Create a payroll program named CalcPay that allows the user to read from file named "Payln.txt" two double values and a string namely hours worked, hourly rate and name. After each record is read, the rate, hours, and name the program should calculate the gross pay. Compute federal withholding tax which is subtracted from gross based on the following table: Hints: (100pts) Use methods as deemed appropriate. o to 99.99 6% 100.00 to 299.99 12% 300.00 to 599.99 1896 600.00 and up 21%. Create an output file named "Payout" The file should include: Name, hours, rate, deduct, gross and net. You should also display the same using printf. Submit the program as an attachment

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

Advanced MySQL 8 Discover The Full Potential Of MySQL And Ensure High Performance Of Your Database

Authors: Eric Vanier ,Birju Shah ,Tejaswi Malepati

1st Edition

1788834445, 978-1788834445

More Books

Students also viewed these Databases questions

Question

(a) What is a strong base?

Answered: 1 week ago