This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: Set Net Pay Label to = “Net Pay” Set Net Pay Textbox to Visible = True Net Pay = Base Pay + Bonus txtNetPay.Text = Net Pay v. Else If Missed Hours Percentage >= .25 Then Set Penalty Label to = Visible Set Penalty or Bonus Label to Visible = True Set Penalty or Bonus Label to = “Penalty” Set Penalty or Bonus Textbox to Visible = True Penalty = 5 * Weekly Hours of Missed Work txtPenaltyOrBonus.Text = Penalty Set Net Pay Label to Visible = True Set Net Pay Label to = “Net Pay” Set Net Pay Textbox to Visible = True Net Pay = Base Pay – Penalty txtNetPay.Text = Net Pay vi. Else Missed Hours Percentage > .035 And < .25 No Bonus or Penalty vii. End If e. Display Output i. Employee Name ii. Hourly Wage iii. Total Hours Worked iv. Hours of Missed Work v. Missed Hours Percentage vi. Base Pay vii. Bonus or Penalty viii. Net Pay...
View Full Document
- Spring '07
- net pay, Rational number