Question: JAVA (Financial application: print a tax table) Listing 3.5 gives a program to compute tax. Write a method for computing tax using the following header:
JAVA

(Financial application: print a tax table) Listing 3.5 gives a program to compute tax. Write a method for computing tax using the following header: public static double computeTax (int status, double 6.15 taxableIncome) Use this method to write a program that prints a tax table for taxable inco $50,000 to $60,000 with intervals of $50 for all the following statuses: Taxable Income Single Married Joint or Qualifying Widow(er) 6665 6673 Married Separate Head of House hold 50000 8688 7353 7365 8688 50050 8700 8700 9840 9853 59950 8158 8165 60000 11188 11188 Hint: round the tax into integers using Math.round (.e. round (computeTax(status, taxableIncome) ))
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
