Shahezad Contractor
Dr. Ebrahimi
3/9/06
Programming is problem solving. If marital status equals Single tax rate equals taxrate + 0.05. If marital status is married the taxrate remains the same. If the marital status is Head of Household tax rate equals taxrate - 0.05. There are three ways to input, Input Box, Text Box Take from input box and put into a textbox. The textbox goes to the input variable, then you process the input variable and in order to display you have to put the variable into the textbox.
| STUDY - PAYROLL
SYSTEM PHASE 4: DECISION-MAKING At
this phase of the payroll system, we are gonig to include the appropriate
tax rate (variable) rather than a fixed tax rate of 10% (constant).
The program will also compute the overtime pay. 4B) Determine an additional tax rate based
on marital status:
2) Declare marital status as character
(working with either letters M, S, H or character digits 1,2,3). You may want to find overtime hours (e.g.
hoursworked - 40) and overtime pay
|