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
gavmur [86]
3 years ago
9

1. An auto repair shop charges as follows. Inspecting the vehicle costs $75. If no work needs to be done,

Computers and Technology
1 answer:
levacccp [35]3 years ago
7 0

Answer:

charge = 0

hours_worked = int(input("Enter the hours worked: "))

cost_of_parts = float(input("Enter the cost of parts: "))

if hours_worked == 0:

   charge = 75

else:

   charge = 120 + (75 * hours_worked) + cost_of_parts

   

print("The charge is $" + str(charge))

Explanation:

*The code is in Python.

Initialize the charge as 0

Ask the user to enter the hours_worked and cost_of_parts

Check the hours_worked. If it is 0, that means there is no inspecting. Set the charge to 75

Otherwise, (That means there is an inspecting) set the charge to 120, minimum charge, + (hours_worked * 75) + cost_of_parts

Print the charge

You might be interested in
Question 3 (2 points)
jeyben [28]

Answer:

The energy source that does not use heat in the process of converting it to electricity is;

c. Sunlight

Explanation:

In converting Sunlight energy source to electricity, the photons in the light from the Sun excite electrons in the solar cells silicon layers, such that the electrons travel from n-type silicon layer to the p-type silicon layer creating electric potential energy that does work as the electrons flow back in the form of electricity from the p-type to the n-type silicon layer through an external circuit

7 0
3 years ago
Which of the following describes a Trojan horse?
HACTEHA [7]

Answer:

the answer is

c. Trojan horses enter a secure space, while an infected file proceeds to be downloaded and run.

7 0
3 years ago
Microsoft Word
ValentinkaMS [17]
It looks like it would have to be choice D.

Explanation: Pagination is number assignment to pages. Word wrap is when if a word is too long it is sent to the next line. Editing would not be a precise or accurate answer.
3 0
4 years ago
Read 2 more answers
The security administrator for Corp wants to provide wireless access for employees as well as guests. Multiple wireless access p
Artemon [7]
It’s B I took the test
7 0
4 years ago
How can photography allow us to view the world around us in different ways?
Nimfa-mama [501]
Photography allows us to view the world around us in different ways, by giving us the sense and feel of what others feel, Photography is art. You are able to use photography to define actions, for example happiness in a marriage or happiness in children playing at the park. Photography also allows you to explore and discover new things, and make something out of that. It makes you think a bout different ways to change the world around you, how do you define the world?
7 0
3 years ago
Read 2 more answers
Other questions:
  • Blender questions
    8·1 answer
  • If you were given a 3D microscope to use for photography, which object(s) would you most want to photograph?
    10·2 answers
  • 9. What is composition? Why is composition important?
    11·1 answer
  • In addition to ranking the relevance of a particular site according to the keywords entered by the user, which of the following
    10·1 answer
  • How should I do it Please code for Java
    15·1 answer
  • PLS I NEED HELP Question 6<br> 1 pts<br> What is NOT a built-in function in python?
    5·1 answer
  • Data type can only be true or false <br><br> Answer: Bool
    15·1 answer
  • A=4x^2.(x-2y)-20x.(2y-x)
    12·1 answer
  • The Western Siberian Plain is __________ in some places because it has poor natural draining systems.
    15·1 answer
  • What option in the zone aging/scavenging properties dialog box will prevent dns record time stamps from being updated too often?
    9·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!