Skip to content

alleyesonme21/pierre-bakery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pierre's Bakery

Created: 9/25/2020 By Johnny Duverseau

Description

This program is an order form to showcase how much a user's order will be to order bread and pastries at Pierre's Bakery. By taking a user inputted number and special prices for buying multiple items, the user will know the total cost of their order.

Specifications

The program calculates number of bread loaves a user enters and displays the price

  • Input: 1
  • Output: $5

The program calculates number of 2 loaves of bread a user enters and displays the price

  • Input: 2
  • Output: $10
  • Output: get 1 free

The program calculates number of 4 loaves of bread a user enters and displays the price

  • Input: 4
  • Output: $20
  • Output: get 2 free

The program calculates number of 7 loaves of bread a user enters and displays the price

  • Input: 7
  • Output: $35
  • Output: get 3 free

The program calculates number of pastries a user enters and displays the price

  • Input: 1
  • Output: $2

The program calculates number of 3 pastries a user enter and display the price

  • Input: 6
  • Output: $10

The program calculates number of 3 pastries a user enter and display the price

  • Input: 7
  • Output: $35

If a user enter a number of 1 bread and a 3 pastries the program display

  • Input: 1 + 3
  • Output: $10

Setup/Installation Requirements;

  • Git clone
  • Open terminal
  • cd PierreBakery.Solution
  • Open in vsCode
  • dotnet restore
  • donet build
  • donet test
  • dotnet run

Support and contact details

Technologies Used

  • Visual Studio Code
  • C#
  • .Net

License

Copyright (c) 2020 Johnny Duverseau

This software is licensed under the MIT license.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages