subject

Programming for C++ Write a class, IncomeTaxCls. The class contains two attributes (a TaxpayerID and an annual income amount. The class must have a two-parameter constructor and member functions such as get and set member functions and a member function calculate(). The calculate( ) is used to calculate a federal income tax amount based on the conditions below. Implement the class and the main( ).
Grading Criteria:
The class implementation is coded correctly.
The calculations in the member function calculate ( ) are performed correctly. If the annual income amount is between $1-$10000.0, the tax rate is 5 %. If the annual income amount is between $10001.0-$30000.0, the tax rate is 8 %. If the annual income amount is between $30001.0-$50000.0, the commission rate is 10 %. If the annual income amount is greater than $50000.0, the commission rate is 15%.

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 06:40, EricaLSH7624
Match the personality traits with their description
Answers: 2
image
Computers and Technology, 23.06.2019 13:50, mrfishyyyy
Explain how email technologies enable the exchange of messages between users. find out the typical parts of an email address and explain each part.
Answers: 1
image
Computers and Technology, 24.06.2019 06:30, meganwintergirl
Ineed to know the anwser to all these questions
Answers: 2
image
Computers and Technology, 24.06.2019 11:30, smann211
Convert 11001110(acdd notation) into decimal
Answers: 2
You know the right answer?
Programming for C++ Write a class, IncomeTaxCls. The class contains two attributes (a TaxpayerID an...

Questions in other subjects:

Konu
Mathematics, 11.12.2020 01:00
Konu
Mathematics, 11.12.2020 01:00
Konu
Mathematics, 11.12.2020 01:00