IN ORDER TO IMPLEMENT A SET OF RULES / TUTORIALOUTLET DOT COM IN ORDER TOIMPLEMENTASETOFRULES/TUTORIALOUTLET.COM | Page 16
} Exercise F4
Write a void function without parameters computeTaxNet that uses
the gross pay of an individual to
compute his tax deduction and net pay that are printed in function
main. The tax deduction is computed
as follows: if the gross pay is greater than or equal to $1000.00, then
the tax deduction is 25% of the
gross pay; otherwise, it is 18% of the gross pay. The net pay is the
gross pay minus the tax deduction.
a. Function main first calls function computeTaxNet to compute the
tax deduction and the net pay for
the gross pay $1250.
b. It then reads the gross pay of an individual and then calls function
computeTaxNet to compute his
tax deduction and net pay.
c. You must first determine and define the global variables of this
program; then write function
------------------------------------------------------------------------------------
Determine whether they form a partition for the set of
integers
FOR MORE CLASSES VISIT
www.tutorialoutlet.com
For each the following groups of sets, determine whether they form
a partition for the set of integers. Explain your answer.
a. A1 = {n Z: n > 0}
A2 = {n Z: n < 0}
A1 contains all integers greater than 0.
A2 contains all integers less than 0.