diff --git a/Sales/Program.cs b/Sales/Program.cs new file mode 100644 --- /dev/null +++ b/Sales/Program.cs @@ -0,0 +1,32 @@ +/** + * Program.cs + * + * @author Markus Bröker + * @copyright Copyright(C) 2017 4Customers UG + * + */ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +using static Sales.Payment; + +namespace Sales +{ + class Program + { + static void Main(string[] args) + { + Console.OutputEncoding = Encoding.Default; + + Program p = new Program(); + + Invoice invoice = new Sales.Invoice(599.99, PaymentType.NOW); + Console.WriteLine("Die Endsumme beträgt {0:C}", invoice.getFinalResult()); + + Console.ReadKey(); + } + } +}