The original U.S. income tax of 1913 was quite simple. The tax was

• 1 percent on the first \$50,000.

• 2 percent on the amount over \$50,000 up to \$75,000.

• 3 percent on the amount over \$75,000 up to \$100,000.

• 4 percent on the amount over \$100,000 up to \$250,000.

• 5 percent on the amount over \$250,000 up to \$500,000.

• 6 percent on the amount over \$500,000.

There was no separate schedule for single or married taxpayers. Write a program that computes the income tax according to this schedule.

Complete the following files:

### TaxReturn.java

Use the following file:

TaxCalculator.java

```import java.util.Scanner;

/**
This program calculates taxes based on the original
U.S. income tax schedule in 1913.
*/
public class TaxCalculator
{
public static void main(String[] args)
{
Scanner in = new Scanner(System.in);

System.out.println("Please enter your income: ");
double income = in.nextDouble();

TaxReturn aTaxReturn = new TaxReturn(income);

System.out.println("Tax: " + aTaxReturn.getTax());
}
}
```