The following function written in pseudocode accepts INCOME

The following function written in pseudocode accepts INCOME as a variable and outputs the TAX corresponding to that income.

FUNCTION TAX (INCOME)

            1. IF (INCOME > 60000) THEN

                        a. TAXDUE ? 15000

            2. ELSE

                        a. IF (INCOME > 30000) THEN

                                    1. TAXDUE ? 5000

                        b. ELSE

                                    1. TAXDUE ? INCOME

Solution

a) 23000 output wii be 1840 //(23000*.08)

b)64000 output wii be 15000

c)47000 output wii be 5000

The following function written in pseudocode accepts INCOME as a variable and outputs the TAX corresponding to that income. FUNCTION TAX (INCOME) 1. IF (INCOME

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site