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
SCORPION-xisa [38]
3 years ago
11

Write a cash register program that calculates change for a restaurant of your choice. Your program should include: Ask the user

to input the cost of 3 items purchased by the customer* Tell the user the total cost of the items purchased Ask the user to input the amount paid by the customer Calculate and print the amount of change to be given to the customer
Computers and Technology
1 answer:
eduard3 years ago
4 0

Answer:

Python Code

Explanation:

total = 0.0

change = 0.0

itemone = float(input("Enter the first price: "))

itemtwo = float(input("Enter the second price: "))

itemthree = float(input("Enter the third price: "))

total = itemone + itemtwo + itemthree

print("Total:", total)

cash = float(input("Cash given: "))

change = total - cash

print("Your change:", change)

You might be interested in
What would be the best thing you could do to prepare yourself to work for a company that has embraced globalization. A) learn ho
laila [671]

Answer:B

Explanation: your co workers might not know English so you would need to learn their language :)

5 0
4 years ago
Read 2 more answers
Describing Work Styles for Farmworkers and Laborers, Crop
Olegator [25]

Answer:

it is A,B,E,F,G

Explanation:

can i have brainliest please.

7 0
3 years ago
Read 2 more answers
Can i uninstall adobe lightroom 6 and reinstall
ira [324]
Try transferring it onto a flash drive. Remove from computer, restart computer, and plug in. Its like a baby hard reset. It lets the app completely reset while keeping all the data as well as the computer clearing its cache.
8 0
4 years ago
Explanation historical development of computer ​
RUDIKE [14]

Answer:

Brief History Of Computer. The computer as we know it today had its beginning with a 19th century English mathematics professor name Charles Babbage. ... Other developments continued until in 1946 the first general– purpose digital computer, the Electronic Numerical Integrator and Computer (ENIAC) was built.

Explanation:

Computers and electronics play an enormous role in today's society, impacting everything from communication and medicine to science.

Although computers are typically viewed as a modern invention involving electronics, computing predates the use of electrical devices. The ancient abacus was perhaps the first digital computing device. Analog computing dates back several millennia as primitive computing devices were used as early as the ancient Greeks and Romans, the most known complex of which being the Antikythera mechanism. Later devices such as the castle clock (1206), slide rule (c. 1624) and Babbage's Difference Engine (1822) are other examples of early mechanical analog computers.

The introduction of electric power in the 19th century led to the rise of electrical and hybrid electro-mechanical devices to carry out both digital (Hollerith punch-card machine) and analog (Bush’s differential analyzer) calculation. Telephone switching came to be based on this technology, which led to the development of machines that we would recognize as early computers.

The presentation of the Edison Effect in 1885 provided the theoretical background for electronic devices. Originally in the form of vacuum tubes, electronic components were rapidly integrated into electric devices, revolutionizing radio and later television. It was in computers however, where the full impact of electronics was felt. Analog computers used to calculate ballistics were crucial to the outcome of World War II, and the Colossus and the ENIAC, the two earliest electronic digital computers, were developed during the war.

With the invention of solid-state electronics, the transistor and ultimately the integrated circuit, computers would become much smaller and eventually affordable for the average consumer. Today “computers” are present in nearly every aspect of everyday life, from watches to automobiles.

6 0
3 years ago
And this also please. help​
gregori [183]

Answer:

1. Scanner = reading passports.

2. Barcode reader = automatic stock control.

3. pH sensor = monitor soil in a greenhouse.

4. Microphone = voice recognition.

Explanation:

1. Scanner: Copies paper documents and converts the text and pictures into a computer-readable form. Therefore, it can be used for reading passports.

2. Barcode reader: reads labels containing parallel dark and light lines using laser light or LEDs; the width of each line represents a binary code. Therefore, it is used for automatic stock control.

3. pH sensor: detect changes in acidity levels; data is often in analogue form. Thus, it is typically used to monitor soil in a greenhouse.

4. Microphone: allows audio signals to be converted into electric signals; these can be interpreted by a computer after being converted into digital form. Microphones are used for voice recognition.

5 0
3 years ago
Other questions:
  • What range of leakage current must trip an IDCI?​
    15·1 answer
  • As an ICT student teacher using convincing and cogent reasons explain why you think operating system is pivotal in teaching and
    7·1 answer
  • The Occupational Outlook Handbook is published by the Bureau of Labor Statistics.
    10·2 answers
  • Sorry but, what are brainliest for?
    7·2 answers
  • All the read/write heads a hard disk are controlled by a(n) ____ which moves the read/write heads across the disk surfaces in un
    13·1 answer
  • 20 POINTSS!! NEED HELP!!
    12·2 answers
  • We cannot imagine a life without the Internet. Imagine that you had to live without being connected to the Internet. Discuss the
    13·1 answer
  • Complete the code to finish this program to analyze the inventory for a store that sells purses and backpacks. Each record is co
    13·1 answer
  • Sort the layout options for two types of masters in PowerPoint.
    5·1 answer
  • What would be printed to the screen when the following program is run?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!