Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 ... 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

Chemistry

Authors: Raymond Chang

10th edition

77274318, 978-0077274313

More Books

Students also viewed these Mechanical Engineering questions

Question

Why do nonverbal communication systems vary across cultures?

Answered: 1 week ago