Calculates a total price using predefined variables and demonstrates the effect of output formatting.