Question: CSE 1 0 1 : Introduction to Python home > 1 3 . 1 : Gene's Green ( Full Program ) Collaborative Challenge zyBooks catalog
CSE : Introduction to Python home : Gene's Green Full Program Collaborative Challenge
zyBooks catalog
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.
Search
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
