Knowee
Questions
Features
Study Tools

Write a program to accept the cost price of a bike qnd display the road tax to be paid according to the following criteria:Cost price(in Rs)                  Tax>100000                              15%>50000 and <=100000      10%<=50000                               5%

Question

Write a program to accept the cost price of a bike qnd display the road tax to be paid according to the following criteria:Cost price(in Rs)                  Tax>100000                              15%>50000 and <=100000      10%<=50000                               5%

🧐 Not the exact question you are looking for?Go ask a question

Solution

Sure, here is a Python program that accepts the cost price of a bike and calculates the road tax based on the given criteria.

# Accept the cost price of the bike
cost_price = float(input("Enter the cost price of the bike: "))

# Calculate the road tax based on the cost price
if cost_price > 100000:
    tax = cost_price * 0.15
elif cost_price > 50000 and cost_price <= 100000:
    tax = cost_price * 0.10
else:
    tax = cost_price * 0.05

# Display the road tax
print("The road tax to be paid is: ", tax)

This program first takes the cost price of the bike as input from the user. Then it checks the cost price against the given criteria to calculate the road tax. Finally, it prints the calculated road tax.

This problem has been solved

Similar Questions

A bicycle has a listed price of $508.95 before tax. If the sales tax rate is 8.25%, find the total cost of the bicycle with sales tax included.Round your answer to the nearest cent, as necessary.

Bentley Motors Limited wants to estimate the total cost of the “flying spur”  car model  by adding  15% excise duty, 10% Sales tax , 1% road tax  and bring in to the market. Assume that the basic cost is given by the company. Analyze the scenario and construct a pseudocode .Hint : To calculate the percentageIf we need to calculate 15% of excise duty, it should be exciseDuty*15/100  (or)  exciseDuty*0.15

The demand function Q and cost function C(Q) of a commodity are given by the equations \[Q=20-0.01P,\] and C(Q)=60+6Q, where P and Q are the price and quantity, respectively. The total revenue function (TR) in terms of P is

The income of P and Q are in the ratio 3:5, and their expenditure in the ratio 1:2, If P saves RS.1200/- and Q saves RS.800/- find the income of P.OptionsRS.1500RS.3400RS.2000RS.4800RS.8000

(b)i. Upul has to be paid Rs. 1400 rates per quarter for his business building located within a municipalarea. Find the assessed value of the building if the rate of annual assessed tax levied by themunicipal council is 8 %.ii. The municipal council will deduct 10 % of total assessed tax for the year if paid in total before 31stof January of that year. If Upul pays the above tax in total before 31st of January find the amount ofassessed tax he will pay

1/3

Upgrade your grade with Knowee

Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.