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
liubo4ka [24]
2 years ago
15

4. //Program prompts users for names and quantities for a $2.00 product and displays total for each user until “XXX” is entered

Computers and Technology
1 answer:
igor_vitrenko [27]2 years ago
7 0

The program is an illustration of loops

<h3>What are loops?</h3>

Loops are program statements that are used to perform repeated operations

#This gets the product name

product = input("Product: ")

#This gets the quantity

quantity= float(input("Quantity: "))

#This initializes the total quantity to 0

total = 0

while(product.upper() != "XXX"):

   #This calculates the total price

   total+=price

   #This gets the product name

   product = input("Product: ")

   #This gets the quantity

   quantity= float(input("Quantity: "))

#This prints the total quantity

print(total)

Read more about loops at:

brainly.com/question/6954187

You might be interested in
What is the definition of legal intrusion
AleksAgata [21]
My answer -

intrusion of rights, right of privacy, trespass

P.S

Happy to help you have an AWESOME!!! day ^-^
5 0
3 years ago
Why do we need to send emails
DiKsa [7]

Answer:

email is the easier way of communicating and fast

5 0
3 years ago
Using a conversation voice is part of:
MaRussiya [10]
Need more information
4 0
3 years ago
Which option helps you choose the design of a slide in a presentation?
lozanna [386]
Hello! The slide transition helps with the transitions of slides and the animation helps out with the words appearing on the screen in a more creative way. Therefore, C and D are out. The slide layout is the part where if you click on it, slide designs are shown for you to choose from. The shapes can be used for design, but it doesn't help if you're looking for the design of a slide. The answer is A: slide layout.
5 0
3 years ago
What are the 3 attributes of information?
Anton [14]

As previously said, the three highly important qualities of validity, accuracy, and completeness can be expanded into the information quality of integrity.

For information to be valuable and to meet the definition of information, it must largely have the characteristics of relevance, availability, and timeliness. Accuracy, completeness, consistency, distinctiveness, and timeliness are five qualities of high-quality information. For information to be accurate and valuable, it must be of high quality. Standard attributes, commonly referred to as global attributes, work with a wide variety of elements. The essential attributes such as accesskey, class, contenteditable, contextmenu, data, dir, hidden, id, lang, style, tabindex, and title are included in them.

Learn more about information here-

brainly.com/question/5042768

#SPJ4

4 0
1 year ago
Other questions:
  • Which is an example of intrinsic motivation?
    13·2 answers
  • True or false words spelling and grammar check is always %100
    7·2 answers
  • Where is the insert function button found in microsoft excel?
    11·1 answer
  • Explain the steps users can take to maintain an operating system
    15·1 answer
  • How to write a self-analysis essay
    5·1 answer
  • A blank is a copy of one or more files that is made in case the original become lost or damaged
    7·1 answer
  • A law office has been leasing dark fiber from a local telecommunications company to connect a remote office to company headquart
    14·1 answer
  • Write a program that first reads in the name of an input file, followed by two strings representing the lower and upper bounds o
    8·1 answer
  • Write down a pair of integers whose sum is​ 0
    5·1 answer
  • Explain why the receptionist responded as indicated in the following scenario.
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!