English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Create a class called clsTaxReturn. This class should have a property for income (and a private variable to store the income); negative incomes are not allowed. Add a read-only property that returns the income as a formatted string (that is, formatted as currency, $10,000 for 10000, for example). Add functions that return the income tax and insurance tax. As before:
a.Income tax is 15% for the first $10,000 and 25% of the income in excess of $10,000 (just as in a previous question)
b.Insurance tax is 7.75% of the first $50,000; income above $50,000 has no insurance tax. That is, an income of $25,000 would have 7.75% of all 25,000 to pay, while an income of $65,000 would only pay 7.75% of 50,000, not 7.75% of 65,000.
Write a program to test this class.

2006-12-14 06:31:42 · 2 answers · asked by bhs00 2 in Computers & Internet Programming & Design

2 answers

Sorry don't have visual studio currently installed. Go to www.programmersheaven.com for help.

2006-12-14 06:42:07 · answer #1 · answered by micaso1971 5 · 1 0

Do ur class work

2006-12-14 14:34:17 · answer #2 · answered by Enigma 2 · 1 0

fedest.com, questions and answers