How would you rewrite the algorithm that determines payout for a po...