Question: (1) Write the code to display a blank Qualified Dividends and Capital Gain Tax Worksheet to Console screen. (See EXHIBIT C2) (2) Develop a Function

(1) Write the code to display a blank "Qualified Dividends and Capital Gain Tax Worksheet" to Console screen. (See EXHIBIT C2) (2) Develop a Function that implements the "Qualified Dividends and Capital Gain Tax Worksheet". This function should populate the input fields {1,2,3} from EXHIBIT A2, the Individual Income Tax Return. Then Calculate and Populate the Intermediate Fields {4-16} according to the directions given with the field. Finally, perform the computations to populate the fields {17,18,19}. Note that the objective of this Worksheet is to take the input fields {1,2,3} and use fields {4-16} to transform them into a form that is suitable for the functions that will compute the taxes and populate fields {17,18,19}. [ note: that the value in Field 19 will be used to populate the field in Line 11 of the Individual Income Tax Return ]

(3) Create a Function that Displays "Qualified Dividends & Capital Gain Tax Worksheet" with all fields populated on the Console screen. ------------------------------------------------------------------------ TEST CASE Line1 Line2 Line3 of Qualified Income Tax Worksheet RI QD CG ------------------------------------------------------------------------ 1 35000 1000 0 2 38000 7000 10000 3 66000 13000 9000 ------------------------------------------------------------------------ assume Filing Status is SINGLE

01) Source Code to display a blank "Qualified Dividends and Capital Gain Tax Worksheet" to Console screen.

02) Source Code for Function that implements the "Qualified Dividends and Capital Gain Tax Worksheet".

03) Source Code for the Function that Displays "Qualified Dividends & Capital Gain Tax Worksheet" with all fields populated on the Console screen.

04) Display a blank "Qualified Dividends and Capital Gain Tax Worksheet" to Console screen.

05) Display "Qualified Dividends & Capital Gain Tax Worksheet" with all fields populated on the Console screen for Test Case #1.

06) Display "Qualified Dividends & Capital Gain Tax Worksheet" with all fields populated on the Console screen for Test Case #2.

07) Display "Qualified Dividends & Capital Gain Tax Worksheet" with all fields populated on the Console screen for Test Case #3.

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 Finance Questions!