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
Anettt [7]
3 years ago
6

Create a program the outputs the total cost of a lunch order. Users should be prompted to input the number of hamburgers, fries,

and drinks they want and the program should print the total cost of the order. The hamburgers cost 2.00, fries cost 1.50, and drinks cost 1.00. Be creative and professional in prompting the user for the information and in displaying the output.
Computers and Technology
1 answer:
Likurg_2 [28]3 years ago
4 0

Answer:

total = 0

hamburgers = int(input("Enter the number of hamburgers: "))

fries = int(input("Enter the number of fries: "))

drinks = int(input("Enter the number of drinks: "))

total = (hamburgers * 2.0) + (fries * 1.5) + (drinks * 1.00)

print("The total cost of the order is: " + str(total))

Explanation:

- Ask the user for the inputs

- In order to find the total cost, multiply each order cost with the number of orders. Then sum the each result.

- Print the total cost

You might be interested in
Net Worth is equal to assets minus liabilities. Which event will have the greatest impact (positive or negative) on one's net wo
Orlov [11]
I would say that buying a house or apartment will in most people's cases have the greatest impact on the person's net worth. If it is bought in a big city like Vancouver it is highly likely that it will appreciate in value. At first it will be a iiability but after a few years if the marked is good  then the value will go up so the equity of the homeowner will increase thus increasing net worth.
8 0
3 years ago
All formulas that begin with =IF will
amid [387]

Answer:

return a specific value, calculation or message if certain condition met

Explanation:

"if" is used for conditional statements that means, do some work if the condition is met against that logic.

e.g.

If (a > 5)

{

Show "a is greater than 5"

}

so if we put a= 6 than condition met and given statement will be shown on out put as "a is greater than 5".

6 0
3 years ago
Data mining requires specialized data analysts to ask ad hoc questions and obtain answers quickly from the system. select one: t
rjkz [21]

Specialized data analysts are needed for data mining in order to ask ad hoc inquiries and swiftly get responses from the system. choose one. This claim is false.

<h3>What does data mining mean exactly?</h3>
  • Large data sets are sorted through in data mining in order to find patterns and relationships that may be used in data analysis to assist solve business challenges.
  • Enterprises can forecast future trends and make more educated business decisions thanks to data mining techniques and technologies.
  • Increasingly huge databases are explored via data mining, which also helps market segmentation.
  • It is feasible to predict a customer's behavior to guide personalized loyalty marketing by analyzing the links between criteria like their age, gender, and preferences.

To learn more about Data mining, refer to:

brainly.com/question/2596411

#SPJ4

5 0
2 years ago
A variable that can be modified from anywhere within a program is called a?
larisa86 [58]
A - a global variable
6 0
3 years ago
If it is impractical to place guest users in a secure network, isolated from the production network by firewall barriers, then:
IgorLugansk [536]

Answer:

specific areas of access should be determined and they should be as restrictive as possible.

Explanation:

According to my research on security features of networks , I can say that based on the information provided within the question then specific areas of access should be determined and they should be as restrictive as possible. This would provide the highest level of security while still allowing production to be smooth.

I hope this answered your question. If you have any more questions feel free to ask away at Brainly.

7 0
3 years ago
Other questions:
  • Operating system software allows you to use your fingers, a mouse or other pointing device to select screen controls, such as bu
    5·2 answers
  • 3. Which of the following phase types will make a sound louder? In-phase, inverted phase, or partial phase angle waves?
    7·2 answers
  • List of programming languages and their typing
    5·2 answers
  • Driving is expensive. Write a program with a car's miles/gallon and gas dollars/gallon (both doubles) as input, and output the g
    7·2 answers
  • What is the accounting equation?
    12·1 answer
  • 11. Print Layout, Full Screen Reading, Web Layout, Outline and Draft are examples of _______. 12. What do you do if the spelling
    5·1 answer
  • C++ CODE
    6·1 answer
  • Harry Potter and his friends are at Ollivander's with Ron, finally replacing Charlie's old broken wand. Hermione decides the bes
    11·1 answer
  • You need to update both the DEPARTMENT_ID and LOCATION_ID columns in the EMPLOYEES table using one UPDATE statement. Which claus
    5·1 answer
  • Which of the following is the most significant result of technological innovation?
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!