/// <summary> /// Compute the Adjusted Benefits based on a person's annual cost of benefits and the discount percentage they recieve /// </summary> /// <param name="person">Supply a person to check</param> /// <returns>a decimal representing the annual cost of benefits</returns> public decimal ComputeAdjustedBenefits(IPerson person) { return(Decimal.Divide((person.BaseAnnualCostOfBenefits * (100 - person.BenefitsDiscountPercentage())), 100)); }