/bakery

Primary LanguageC#

Bakery Project

By Wei Dai
Created 13 December, 2019

Description

This project allows users to purchase bread and pastery.

Links:

Github - https://github.com/weidai07/bakery

Setup/Installation Requirements:

  1. Open https://github.com/weidai07/bakery
  2. Clone repository to local machine
  3. Build and Run project
  • $ dotnet build -when you are ready to build project
  • $ dotnet run -for testing project

Specification

This programs allows users to purchase bread and pastery with given discounts. For every two loaves of bread a user purchases, he or she will receive an additional loaf of bread for no additonal charge. The user will also receive one dollar off the total price for every third pastery he or she purchases. For example: a loaf of bread costs $5.00 USD so if a user buys two loaves, then they will received a third one for free. A single pastery costs $2.00 USD, but the user has the opertunity to purchase three pasteries for $5.00 USD. All prices are given prior to the applied sales tax.

Known Bugs

  • None at this time

Technologies Used:

  • C#
  • .NET

License:

Copyright (c) 2019 Wei Dai

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.