- Markdown
- C#
- .NET
A user is welcomed to Pierre's Bakery and asked how many loaves of bread and how many pastries they'd like to order. The application returns the total cost of their order, given the following pricing structure:
- Bread: Buy 2, get 1 free (every 3rd loaf of bread is free.). A single loaf costs $5, two loaves costs $10, and three loaves cost $10.
- Pastry: Buy 1 for $2 or 3 for $5. Four pastries costs $7, five pastries costs $9, and six pastries costs $10.
- Clone repository to desktop
- Follow the steps on this page to install C# and .NET on your computer: [(https://www.learnhowtoprogram.com/c-and-net/getting-started-with-c/installing-c-and-net)]
- To run program, navigate to the Bakery folder in your terminal and type $ dotnet run
- To run tests, navigate to the Bakery.Tests folder in your terminal and type $ dotnet test
- No known bugs
[MIT]
Copyright (c) 2022 Claire Thorington