Skip to content

Todders92/pastry-shop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pastry Shop

A console application for ordering bread and pastries 2/28/2020

By Todd Walraven

Description

This Application has the user choose between bread and pastries they would like to order. Based on what the user selects the application determines the price of the order

Specs

  1. User selects number of pastries, returns a baseline price.

    • Example Input: enters 10 pastries
    • Example Output: your order total is $10
  2. User can also select bread in conjunction with pastries, application returns a baseline price.

    • Example Input: enters 10 pastries and 2 breads
    • Example Output: your order total is $10
  3. based on the number of pastries and bread selected, the user is returned a price

    • Example Input: enters 6 pastries and 2 bread
    • Example Output: your order total is $22
  4. The price of pastries is set to 1 for $2 or 3 for $5

    • Example Input: enters 4 pastries
    • Example Output: your order total is $7
  5. The price of bread is set to $5 each with buy 2 get one free

    • Example Input: enters 3 bread
    • Example Output: your order total is $10

Known Bugs

none yet...

Setup/Installation Requirements

installing dependencies

This applications requires the user to have the follwing installed for the application to work correctly.

  • .Net Core SDK, install instructions can be found here
  • dotnet script, install instructions can be found here

Main setup instructions

  • Clone this repository by entering, in the terminal, the prompt "git clone" followed by the URL to this repository.
  • Use Terminal to navigate to the correct directory (using the prompt "cd {repository-name}").
  • In the terminal, enter dotnet run to begin the application

Technologies Used

  • VSCode
  • Dotnet script
  • C#
  • GitHub
  • .Net SDK

License

This application is licensed under the GPL license

Copyright (c) 2020 Todd Walraven

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages