Question
A landscaping company needs a program that computes the price of landscaping for new housing development. Work orders are based on address, plot length and
A landscaping company needs a program that computes the price of landscaping for new housing development. Work orders are based on address, plot length and width in feet, type of grass (“fescue”, “bentgrass” or “campus”), and a number of trees. The price is computed as follows:
• There is a base labour charge of $1000.
• If the surface (length * width) is over 5000 square feet, add $500.
• The cost is calculated per square foot. If the grass is “fescue” the cost is $0.05; for “bentgrass” it is $0.02; “campus” is $0.01.
• Each tree requested has a $100 charge.
First, create a flowchart that clearly shows all the paths of execution that will exist within your designed solution to this problem. Write a console application that will input the address, property length and width, type of grass and number of trees, and then output the corresponding price.
Your solution must contain examples demonstrating your understanding of the appropriate use of functions and core assignment concepts (decision structures).
Step by Step Solution
3.51 Rating (158 Votes )
There are 3 Steps involved in it
Step: 1
aSpeed of an electron v 520 x 10 ms Magnetic field experienced by the electron B 130 x 10 T Specific ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started