Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You have created an LLC business for your Yard service. Create a Python program that will prompt the user for a service and calculate and

You have created an LLC business for your Yard service. Create a Python program that will prompt the user for a service and calculate and display the cost(s).

Your program must offer at least 3 choices from the following: It might offer Mowing, Edging, Shrub pruning, All. Each choice is priced differently. Your prompt(s) should display the price(s). The cost of the mowing depends upon the square footage of the yard, The cost of edging depends upon the linear footage of the yard's edges. The cost of shrub pruning depends upon the number of shrubs.

If the user inputs an invalid choice, the user should be re-prompted (once). Hint: Test for invalid inputs first with a separate IF statement.

Depending upon the choice selected, the program should then prompt the user for the appropriate information needed to determine the cost of that service(s).

Prompt the user if they live in NY or NJ. If they do, the tax rate is 10% (.10), otherwise the tax rate is 8%(.08).

Your program should display the following output:

the total cost of the service selected (before tax)

the amount of tax

the final cost (after tax).

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning PostgreSQL On The Cloud Simplifying Database As A Service On Cloud Platforms

Authors: Baji Shaik ,Avinash Vallarapu

1st Edition

1484234464, 978-1484234464

More Books

Students also viewed these Databases questions

Question

9.12 Kongsberg Maritime, a Norwegian technology enterprise,

Answered: 1 week ago