Question: Can you please solve A,B,C USEing C++ Define a class named TaxReturn that contains a tax ID number, last name, first name, annual income, number

Can you please solve A,B,C USEing C++

Can you please solve A,B,C USEing C++ Define a class named TaxReturn

Define a class named TaxReturn that contains a tax ID number, last name, first name, annual income, number of dependents, and amount of tax owed for a taxpayer. Include constant static fields that hold the tax rates for the situations shown in the following table Income (S) 0-10,000 10,001-30,000 30,001-60,000 60,001 and up 0 dependents 0.10 0.12 1 dependent 0.08 0.11 0.15 0.22 2 or more dependents 0.07 0.09 0.13 0.19 0.25 Include a static function that displays the tax table. Write a main) function that contains a single statement that displays the tax table Add two public functions to the TaxReturn class: setAllo, which can set the field values and display0, which can display them. The setAlOfunction accepts arguments for the tax ID number, last and first names, annual income, and number of dependents. The setAllOfunction should then call a private function that computes the tax owed. Create an array of 10 TaxReturnobjects. In a loop, prompt the user for ID number first and last name, annual income, and number of dependents, then use these values to set a TaxReturn's fields. At the end of the loop, display all the values for all 10 TaxReturn objects, including the tax owed. a) Draw a flowchart illustrating the program design to solve this problem b) Write visual basic program, execute the program with sample inputs and show the outputs. c) Attach the screen shots of the program, inputs and output

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!