--- TipCalc/TipMath.cs (before) +++ TipCalc/TipMath.cs (after the agent) @@ -5,6 +5,6 @@ /// Total to pay: the bill plus the tip. public static decimal Total(decimal bill, decimal tipPercent) { - return bill + tipPercent; + return bill + bill * tipPercent / 100m; } }