Question: How to do the code for 1 3 . 1 gene s green full program collaborative challenge inputs needed to generate the report. 2 .
How to do the code for genes green full program collaborative challenge
inputs needed to generate the report.
The Tee area is a circle with a diameter that is always onequarter of the course width
The Putting Green is a circle with a diameter that is always onehalf of the course width
The Sand Trap is a circle with a diameter that is always onethird of the course width.
The Sand Trap is always one foot deep
Sand weighs lbs per cubic foot
The Brick Retaining Wall is always three bricks tall. The Retaining Wall covers onehalf of the circumference of the Sand Trap, and each brick is inches long.
The course is surrounded on all sides by Bushes. Gene wants to plant one bush for every yard of the course perimeter, leaving two openings one for the Entry Trail, and one for the Exit Trails. These two openings are both one yard wide
Part Full Program
Design and construct a complete program for Gene's Green. Use the functions that you created in the previous challenges. Additional Functions
You may also find it very helpful to design and write some additional functions to do each of the following:
compute the total area of smooth sod, given the total length and width of a hole as arguments
compute the total area of rough sod, given the total length and width of a hole as arguments
compute the total tons of sand needed, given the total length and width of a hole as arguments
compute the number or retaining wall bricks needed, given the total length and width of a hole as arguments
Each of the functions described in the list above could call one or more of the basic functions eg areaofrectangle, areaofcircle, etc. as a helper function to compute some needed values
You will also need to implement the code necessary to collect and store the program inputs. Then you will need to implement the code that will call your functions to compute all the required program outputs. Finally, you will need to implement the code to print out a nicely formatted report with all of the information that Gene needs
Here is an example of what Gene should see when he runs your program
Make sure that your program collects the two required inputs in this order.
Course length yards
course width yards
Also make sure that your program outputs the Amount of Materials Needed, formatted exactly as shown
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
