Write a java program that will calculate an estimated tax for either a single or married taxpayer given a keyboard income entry. After the income is entered , a code status "S" for single or "M" for married in entered.
The necessary classes are a Tax class with a main() method for keyboard entry of income and code status values, and a TaxReturn class to calculate the tax based on the input.
The input values should be passed from the Tax class to the TaxReturn class through the instantiation of a TaxReturn object. The instantiation could take a form such as
TaxReturn aTaxReturn = new TaxReturn(income, status);
For taxpayers, two tax rates are needed, 15% and 30 %. For single taxpayer the cutoff rate of 15% is 10,000, and 30% above $10,000. For Married, the cutoff rate is 15% for amounts below $20,000, and 30% for amounts of $20,000 and above.
Program output should show the code status, income ,and the amount of tax . Save the program files as [url removed, login to view] and [url removed, login to view]
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.
3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).