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

  Sales forecasting for schonlind companysales

sales forecasting for schonlind companysales forecastingnote it is expected that this problem will be completed using

  Explain how new iphone carriers-verizon monopoly

Explain how New IPhone Carriers-Verizon and Sprint End AT&T Monopoly. Minium five pages essay no longer than 10 pages.

  Demonstrate their understanding financial topics

Goal: Based on the course readings and knowledge gained in this module, students are to demonstrate their understanding of the four financial topics listed below:

  What is the rate of return for the seller

What is the rate of return for the seller? (write out the problem/equation you intend to solveand hazard an approximateguess here. It's sufficient to say: ‘between x% and x+1%', for example: "between 10% and 11%". By the way, that's not the answer..

  Extensive use of the services of freight forwarders

Discuss the reasons why many exporters make extensive use of the services of freight forwarders.- Discuss the implications for the international marketer of the trend towards cross-border retailing.

  Some experts say that the focus of trustees

Some experts say that the focus of trustees and senior leaders in "for-profit companies" should be on creating shareholder wealth and maximizing profitability. Other experts say the company must serve a higher purpose and make a contribution to socie..

  Impact of conflict in employees on productivity

Impact of conflict in employees on organisational productivity" in Coca Cola Amatil Ltd., New Zealand - Conduct a preliminary review of the literature

  What do you think the future of unionization will be

Working with Unions and Resolving Disputes - Recent decline of union membership, with the recent exception of 2008-2009. What do you think the future of unionization will be?

  Preference minorities such as homosexuals

Can employers protect the rights of people whose religion teaches them that homosexuality is immoral and those people who are sexual preference minorities such as homosexuals. How so? Support your reasoning with specific examples and please use ..

  What are diseconomies

What are diseconomies? Also how do they effect a firm, is it in a positive or negative way?

  Examples of hofstede cultural dimensions

Consider  examples of Hofstede's Cultural Dimensions across cultures. Choose two distinctly different countries from this list (e.g., United States & Venezuela). How would you set up HR programs and practices differently for the same organization ..

  Why has the provider of choice shifted from rail

Why has the provider of choice shifted from rail to motor modes? With the shift to motor freight carriers, the amount of traffic accidents have sky rocketed, please give your opinion of the reason for this.

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