private string PrintTotal(Receipt receipt)
 {
     return(FormatLineWithWhitespace("Total: ",
                                     PrintPrice(receipt.GetTotalPrice())));
 }
 private void appendTotalPrice(Receipt receipt, StringBuilder result)
 {
     result.Append("\n");
     result.Append(PrintTotal(receipt));
 }