1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
GenaCL600 [577]
3 years ago
13

The Boffo Balloon Company makes helium balloons. Large balloons cost $13.00 a dozen, medium-sized balloons cost $11.00 a dozen,

and small balloons cost $8.60 a dozen. Customer order information includes customer name, quantity ordered, and size. This program should output the customer order information and total sales according to what and how many balloons they have ordered.
Computers and Technology
1 answer:
IceJOKER [234]3 years ago
4 0

Answer:

name = input("Enter customer name: ")

quantity = int(input("Enter quantity: "))

size = input("Enter size [large-medium-small]: ")

if size == "large":

   sales = (quantity / 12) * 13

if size == "medium":

   sales = (quantity / 12) * 11

if size == "small":

   sales = (quantity / 12) * 8.6

   

print(name + " ordered " + str(quantity) + " " + size + " ballons")

print("Total sales is $" + str(sales))

Explanation:

*The code is in Python.

Ask the user to enter name, quantity, and size

Check the size using if structure. Depending on the size, calculate the sales using the given cost for for a dozen.

Print the order information and total sales

You might be interested in
How will you identify a file type on your computer? A file type is the standard used to and information in a computer. All file
maks197457 [2]
If you are in your file explorer:
1. Right click on the file that you want to know what file it is
2. slect "properties"
3. It should show "file type:" 
4 0
4 years ago
Read 2 more answers
To implement a small database, a database designer must know the "1" and the "M" sides of each relationship and whether the rela
Marysya12 [62]

Answer:

True.

Explanation:

"1" to "M" or 1 to many is a type of relationship between tables in a relational database. It means that against 1 record in a table, there can be 0 to many rows in the other table. Not that the many or child table doesn't need to have any record against the 1 or parent row, so the many side is optional.

Example can be a Customer and Order relationship. Where Customer is the parent table and Order is the child table. "A customer can have 0 to many orders".

6 0
3 years ago
What does running the “sudo” command do?
Luba_88 [7]

Answer:

Elevates rights to what you can access

3 0
3 years ago
Implement a recursive method named power that takes 2 integer parameters named base and expo. The method will return the base ra
nika2105 [10]

Answer:

def power(base, expo):

   if expo == 0:

       return 1

   else:

       return base * power(base, expo-1)

Explanation:

*The code is in Python.

Create a method called power that takes base and expo as parameters

Check if the expo is equal to 0. If it is return 1 (This is our base case for the method, where it stops. This way our method will call itself "expo" times). If expo is not 0, return base * power(base, expo-1). (Call the method itself, decrease the expo by 1 in each call and multiply the base)

3 0
3 years ago
What was software for modems that connected through phone lines called?
balandron [24]

Answer:

Best Regards to all of the people who have met you in the class

4 0
3 years ago
Other questions:
  • An example of an email client is:<br> A.)Yahoo<br> B.)Gmail<br> C.)Outlook<br> D.)All of the Above
    9·1 answer
  • Your laptop doesn't have a serial port. what type of connector will your laptop require
    6·1 answer
  • PLEASE  HELPPPP!!!!!
    14·1 answer
  • WHERE WAS THE CHEESEBURGER INVENTED?
    9·1 answer
  • _____ provides vital protection and maintenance services for system hardware and software, including enterprise computing system
    12·1 answer
  • Which of the following is NOT a reason to include comments in programs
    10·2 answers
  • How can a cell phone tower help people​
    11·2 answers
  • What are the characteristics of Instant Search in Outlook 2016? Check all that apply. A)Typing whole phrases makes your search m
    12·1 answer
  • Large and fast disks should be used for as doing so will ensure work is done as quickly as possible?
    8·1 answer
  • When an EC2 instance is being modified to have more RAM, is this considered Scaling Up or Scaling Out?
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!