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

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 03:40
Mary's manager told her she should insert a graphic into her documentwrite mary a brief note describing how to insert a graphicin a word processing document.
Answers: 1
question
Computers and Technology, 22.06.2019 19:30
When creating a presentation in libre office impress, where does the editing of slides take place?
Answers: 1
question
Computers and Technology, 23.06.2019 14:00
Technician a says that with self-adjusting clutch systems, the release bearing constantly rotates. technician b says that the ball bearing portion of the release bearing should be lubricated with high-temperature grease during routine maintenance. which technician is correct?
Answers: 2
question
Computers and Technology, 23.06.2019 19:40
Use a physical stopwatch to record the length of time it takes to run the program. calculate the difference obtained by calls to the method system.currenttimemillis() just before the start of the algorithm and just after the end of the algorithm. calculate the difference obtained by calls to the method system.currenttimemillis() at the start of the program and at the end of the program so that the elapsed time includes the display of the result. use the value returned by the method system.currenttimemillis() just after the end of the algorithm as the elapsed time.
Answers: 3
You know the right answer?
Programming for C++ Write a class, IncomeTaxCls. The class contains two attributes (a TaxpayerID an...
Questions
question
Mathematics, 28.01.2021 17:40
question
Mathematics, 28.01.2021 17:40
question
Chemistry, 28.01.2021 17:40
question
Social Studies, 28.01.2021 17:40
question
History, 28.01.2021 17:40
question
Mathematics, 28.01.2021 17:40
Questions on the website: 13722361