Python program for an online coffee order

Assignment Help Business Management
Reference no: EM131382827

Write a Python program for an online coffee order. Coffee is sold by the pound, and the price per pound depends upon the quantity ordered according to the table shown below. Partial pounds are not sold. Shipping is $1.00 per pound, but free for coffee orders over $150 before tax. The user must enter the number of pounds desired from the keyboard. The program will then display the cost of the coffee, the 7% sales tax, shipping charges (if any) and the total amount due. All four values should be displayed in currency format with the $ sign right up against the first digit. See SAMPLE OUTPUTS below.

MoonBucks Coffee Company - Coffee Prices

40 pounds or more          $7.50 per lb.

20 pounds or more          $8.75 per lb.

10 pounds or more          $10.00 per lb.

1 to 9 pounds                  $12.00 per lb.

  • Start with a comment that includes your name and course number.
  • Include pseudocode that describes all steps required to solve the problem.
  • Employ variable names that describe the values they store and adhere to Python naming conventions.
  • Include additional comments as needed to annotate your code.
  • Use correct spelling and grammar.

SAMPLE OUTPUT

How many pounds are you ordering? 15

Cost of coffee $150.00

7% sales tax $10.50

Shipping fee $15.00

Total payable $175.50

SAMPLE OUTPUT

How many pounds are you ordering? 50

Cost of coffee $375.00

7% sales tax $26.25

Shipping fee $0.00

Total payable $401.25

Reference no: EM131382827

Questions Cloud

Declaring the instance variable : This chapter uses the class rectangleType to illustrate how to overload the operators +, *, ==, !=, >>, and
Explain other variable that influence ones insurance premium : Describe the requirements specific to your state and whether insurance requirements differ on a financed purchase over a lease. Identify other variables that influence one's insurance premium.
Show that the plane containing the three particles : Three particles are projected simultaneously in a completely general manner. Show that the plane containing the three particles remains parallel to some fixed plane.
Summarize how industrialization affected the life of average : HIS 105:After the Civil War, the United States became a much more industrialized society. Between 1865 and 1920, industrialization improved American life in many ways. However, industrialization also created problems for American society. Consider..
Python program for an online coffee order : Write a Python program for an online coffee order. Coffee is sold by the pound, and the price per pound depends upon the quantity ordered according to the table shown below.
Explain financial institution that would be best fit for you : Identify, describe, and explain the financial institution that would be the best fit for you. Be sure to justify your selection by referencing the information collected in your completed template.
Real-world example of a proactive technology : Security technologies can be grouped into two categories: proactive and reactive. Identify a real-world example of a proactive technology and an example of a reactive technology. Discuss how they support an organization's security posture.
Company upgrading from microsoft server : For a company upgrading from Microsoft Server 2008 to Microsoft Server 2012 Is it possible that the new Hyperviser in Server 2012 will help the company recoup some of it's cost in more efficient use of it's hardware resources and energy costs with..
Video of the arrays module : Write a program (ArrayDemo.java) that prompts the user to enter 5 integer numbers.  Once the user enters the 5 numbers, the program must determine and output the average, the largest, and smallest of 5 numbers. Use the Scanner class as shown in th..

Reviews

Write a Review

 

Business Management Questions & Answers

  Identify key trends and risks in business model

Identify key trends, assumptions, and risks in the context of your final business model. Develop the strategic objectives for your new division of the existing business in a balanced scorecard format in the context of key trends, assumptions, and ..

  Describe the primary job responsibilities

If you were a Continuous Improvement Manager in your organization, describe some of the methodology you would apply to identify root causes. What are the tools you would use to help you achieve your primary job responsibilities?

  What is better about taking tests than writing papers

Discuss your reasons for agreeing with the statement regarding tests over papers. Why do you prefer tests? What is better about taking tests than writing papers? Why are papers not the best alternative for evaluating learning of the course materia..

  Impoverished and the working poor

What is currently being done to improve healthcare access for the elderly, the impoverished and the working poor?

  Employers must not ignore employees starting work early

Employers must not ignore employees starting work early, staying outside scheduled hours, or coming in to work on days off

  Learning outcomes impact the learning processing

How does not having clear learning objectives that align with the overall learning outcomes impact the learning processing? Please provide an example with your answer.

  Ethics and corporate responsibility in workplace and world

PharmaCARE (We CARE about YOUR health®) is one of the world's most successful pharmaceutical companies, enjoying a reputation as a caring, ethical and well-run company that produces high-quality products that save millions of lives and enhance the..

  Define the term code of business conduct

Define "code of business conduct". Discuss businesses should concern themselves with developing a code of business conduct? If so, what variables should be included?

  Mean of data was centered between specification limits

You are evaluating the capability of a process. Standard deviation(s) is 5. Customers have said that they will accept units ranging between 35 and60. The location of the mean isunknown. But your boss wants to know ifthe process is capable of per..

  What are the advantages and drawbacks for organizations

What are the advantages and drawbacks for organizations using social media to communicate with various employees, customers, or the global communities - How do communication barriers surface when using social media versus using traditional media?

  Data mining

How might a retailer use data mining?

  What biblical implications should be included or addressed

In a rapidly changing organization, are decisions more likely to be made using the rational or political model of organization? What biblical implications should be included/addressed? How can/should a biblical worldview be applied?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd