Skip to content

BoyeongYoon/Coffee-Shop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Screen Shot 2022-05-13 at 12 31 30 PM




110px-Python-logo-notext svg




The Four Raw Codes




Sample Output

Screen Shot 2022-05-13 at 3 25 19 PM




Description

A program that will calculate the cost of a custom cup of coffee at a gourmet coffee shop, based on the size of the cup, the type of coffee selected, and flavors that can be added to the coffee. It should complete the following steps:

  1. Ask the user what size cup they want, choosing between small, medium, and large
  2. Ask the user what kind of coffee they want, choosing between brewed, espresso, and cold brew
  3. Ask the user what flavoring they want, if any. Choices include hazelnut, vanilla, and caramel
  4. Calculate the price of the cup using the following values:
    • Size:
      • small: $2
      • medium: $3
      • large: $4
    • Type:
      • brewed: no additional cost
      • espresso: 50 cents
      • cold brew: $1
    • Flavoring:
      • None: no additional cost
      • All other options: 50 cents
  5. Display a statement that summarizes what the user ordered
  6. Display the total cost of the cup of coffee as well as the cost with a 15% tip, in phrases that explain the values to the user. Round the cost with tip to two decimal places
    • For example, if the user asks for a medium-sized espresso with hazelnut flavoring, the total should be $4; the total with a tip should be $4.60 © mThree

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages