Computer Science, asked by ganeshreddy444, 1 month ago

Write a program to calculate parking charges of the vehicles. Enter the type of vehicle as a character (like c for cars, b for bus etc.)And number of hours, then calculate charges as given below:

Truck/bus-Rs.20per hour

Car- Rs.10 per hour


python program pls​

Answers

Answered by abishekdjg
0

Answer:

Answer in python program:

Explanation:

unit=int(input("Enter the electricity consumption unit:")

   if unit<=150 :

       Charge=unit*3

   elif unit<=350:

       Charge=(unit*4)+100;

print("The electricity bill amount:",Charge)

Similar questions