Skip to content

Bootcamp - C#, .NET - Week 8 solo project (Oct cohort)

Notifications You must be signed in to change notification settings

misakimichy/pierre-bakery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pierre's Bakery

C# Console Application: Pan Bakery 12/13/2019

Description

Create a C# console application for a bakery.

Application should have:

  • 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.

  • The bakery offers a special deal:

    • Bread: Buy 2, get 1 free.
    • Pastry: Buy 2, get 1 half price.
Bread Menu Price Pastry Menu Price
Whole-Wheat Bread $5 Croissant $5
Sourdough Bread $7 Pain au Chocolat $7
Baguette $9 Mixed Berry Danish $9

Specs

Spec Input Output
$5 for 1 bread and $2 for 1 pastry 1 bread and 1 pastries $10 total ($5 + $2)
$10 for 3 breads and $5 for 3 pastries 3 breads, 3 pastries $15 total ($10 + $5)
Enter besides number "Hello" "Please enter a number."

Setup/Installation Requirements

  1. Clone this repo:
$ git clone https://github.com/misakimichy/pierre-bakery.git
  1. Go into the repo and run this application:
$ dotnet run

Known Bugs

  • No known bugs at this time.

Support and contact details

Please contact misaki.koonce@gmail.com with questions and feedbacks.

Technologies Used

C#

License

Copyright © 2019 under the MIT License

About

Bootcamp - C#, .NET - Week 8 solo project (Oct cohort)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages