Code Monkey home page Code Monkey logo

pierresbakery.solution's Introduction

Pierre's Bakery

By (Filmer Tolentino)

Description

Create a C# console application for a bakery that includes the following functionality:

  • There should be two classes: one for Bread and one for Pastry.

  • When the user runs the application, they should receive a prompt with a welcome message along with the cost for both Bread and Pastry.

  • A user should be able to specify how many loaves of Bread and how many Pastrys they'd like.

  • The application will return the total cost of the order.

  • Pierre offers the following deals:

    • 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.
  • All functionality for the models should be tested.

Objectives

  • Code includes two custom classes and uses namespaces.
  • Console application works correctly.
  • Application correctly uses auto-implemented properties.
  • Classes should include methods for determining the price of an order.
  • Models are thoroughly tested.
  • Project is in a polished, portfolio-quality state.
  • The prompt’s required functionality and baseline project requirements are in place by the deadline.

Logistics

Minimum Product Features
✔️ User can enter the amount of loaves and pastries they'd like
✔️ Pierre's Deals applied
✔️ Return total cost of order

Setup/Installation Requirements

  1. Clone this projects repository into your local directory following these instructions.

  2. Navigate to project directory from your terminal by entering the following:

cd PierresBakery.Solution
  • Install Microsoft .NET SDK 5.0

  • Navigate to PierresBakery directory and run $ dotnet run in your terminal.

  • For testing navigate to PierresBakery.Tests and run $ dotnet test in your terminal.

Known Bugs

  • Any known issues

License

  • MIT

Copyright

© Filmer Tolentino 2022

pierresbakery.solution's People

Contributors

ftolentino avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.