private static void Main() { var scannedItem = ItemScanner.ScanItem(); var billingDetails = Billing.GetBillingDetails(scannedItem); var formattedContent = FinalBillReportFormatter.Format(billingDetails); Printer.Print(formattedContent); }