Multiplying Different Ranges

Hey guys. I need help with an assignment I'm doing. Basically I need to multiply different ranges from a number by different things. For example: the first $15,000 of the income has a tax rate of 10%, the next $25,000 gets taxed at 15%, the next $30,000 at 20%, the next $30,000 at 25%, anything above $100,000 at 30%, then calculate the total amount of tax. Obviously I don't want anyone to write it for me. But I'd like some clues as to what I need to do. I would really appreciate it and thanks in advance.
Topic archived. No new replies allowed.