Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please I need a python code and also pseudocode of the following: APython program for an online MoonBucks coffee order. Coffee is sold by the

Please I need a python code and also pseudocode of the following:

APython program for an online MoonBucks coffee order. Coffee is sold by the pound, and theprice 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.

--------------

program3_1.py

A program that prompts the user to enter his/her age as an integer. The program should then respond by displaying the user's status based on the following age criteria:

Age 55 and over: senior

Age 20 and over: adult

Age 13 - 19:teen

Age 12 and under: minor

program3_2.py

A program that prompts for an odd integer that is between 50 and 100, inclusive. Use just one if expression with logical operators to test the input. Reply positively or negatively as appropriate to the user's input.

program3_3.py

A wholly creative quiz program that consists of three original questions that you make up according to the specifications below. Provide positive or negative feedback to the user immediately after each question is answered. The quiz doesn't have to be scored.

  • One question should require user input of type int
  • One question should require user input of type float
  • One should require a string input

Thanks and I appreciate the help

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Programming questions