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
Gekata [30.6K]
3 years ago
15

Create a program to compute the fee for parking in a garage for a number of hours. The program should: 1. Prompt the user for ho

w many hours parked 2. Calculate the fee based on the following: a. $2.50/hour b. minimum fee is $6.00 c. maximum fee is $20.00 3. Print the result python

Computers and Technology
1 answer:
Harman [31]3 years ago
7 0

Answer:

The ans will be given in the python script below. A picture of the answer is also attached

Explanation:

print("Welcome To Garage Parking Fee Calculator")

hours = float(input("Type the number of hours parked :  "))

#fee per hour

rate = 2.40

#multiply rate per hour by the number of hours inputted

price = rate * hours

if price < 6:

   price = 6

if price > 20:

   price = 20

print("Parking fee is:  $", +price)      

You might be interested in
A security analyst is investigating a call from a user regarding one of the websites receiving a 503: Service unavailable error.
OverLord2011 [107]

Answer:

C. Denial of Service

Explanation:

Denial of service error occurs when the legitimate users are unable to access the system. They are then unable to access the information contained in the system. This can also be a cyber attack on the system in which user are stopped from accessing their personal and important information and then ransom is claimed to retrieve the attack. In such case system resources and information are temporarily unavailable to the users which disrupts the services.

5 0
4 years ago
What is instant messaging
SpyIntel [72]
Instant messaging (IM) is a type of communication where one person can send a message (typically text based) and have another (1 or more) recipient receive the message.
6 0
3 years ago
In an inheritance situation, the new class that you create from an existing class is known as the:
harkovskaia [24]

Answer:

D. A & C

Explanation:

In an inheritance situation, the new class that you create from an existing class is known as the derived class or child class. The class that the child class inherits from is called the parent class. Child class or derived class has access to all the public and protected fields and methods in the parent class. The child class in effect is extending the implementation of the parent class with additional functionality.

3 0
3 years ago
The list listOne is a sorted list of numbers that contains 700 elements. The list listTwo is a sorted list of numbers that conta
Flura [38]

Answer:

I am pretty sure the answer is A

Explanation:

3 0
3 years ago
Some hardware can be added to the computer without having to restart or power down the computer. After a short period of time th
Alja [10]

Answer:

The answer is "Option c"

Explanation:

Plug and Play is a general term that is used to define gadgets operating with a computer network while connected to it. This technology allows the hardware to use automatically by adding it, and other option can be described as follows:

  • In option a, This technology is used in monitoring the commercial vehicles system, which is why it's incorrect.
  • In option b, It is wrong because It is used in Microsoft Windows, which increases the physical security.
  • In option d, It describes the details about the hardware and switches to configure the device, that's why it is incorrect.
5 0
3 years ago
Other questions:
  • Fractures in Earth’s crust where displacement has occurred are called
    13·1 answer
  • Briefly explain the following terms and concepts:
    8·2 answers
  • On a piano, each key has a frequency, and each subsequent key (black or white) is a known amount higher. Ex: The A key above mid
    14·1 answer
  • There are six different sequences for the three approval tasks: check inventory; check credit; check special terms.
    5·1 answer
  • Witch of the following is a malicious program that can replicate and spread from computer to computer?
    13·1 answer
  • Suppose you have a tablet with a capacity of gigabytes. For a plain text​ book, one byte typically corresponds to one character
    6·1 answer
  • Type the correct answer in the box. Spell all words correctly.
    15·2 answers
  • How much tabs can you open with 8GB of ram? ​
    6·1 answer
  • The physical parts of a computer are called application software.
    9·2 answers
  • After months of hard work, the big day has finally arrived, and your software will be produced and distributed. Which phase of t
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!