Skip to content

Latest commit

 

History

History
75 lines (52 loc) · 1.69 KB

README.md

File metadata and controls

75 lines (52 loc) · 1.69 KB

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.