19.2.1 Winning Salary Increase Every Saturday
Review the weekly salary increase rule that rewards one randomly selected lower-paid employee.
Woods Clinic management likes to reward lower income earners on the staff by
randomly increasing the salary of one lucky employee by 3% every Saturday. If the weekly
winner is salesperson, then they also gets a 3% increase in their commission. Employees
love the program! The figure shows employee MARTIN's email client receiving an email
from hr@example.com with the subject line You Won the Employee
Salary Lottery! It contains the email text:
Hi MARTIN, Congratulations! You won the Employee Salary Lottery. Your salary is now 1288, and your commission is now 1442. The Woods Clinic Staff.
Figure 19-1 Martin Gets an Email That She's the Lucky Winner of a Raise
Parent topic: Exploring an Automation Example
