Instructions Paula and Danny want to plant evergreen trees along the back side of their yard. They do not want to have an excessive number of trees. Write a program that prompts the user to input the...

1 answer below »

Instructions


Paula and Danny want to plant evergreen trees along the back side of their yard. They do not want to have an excessive number of trees.


Write a program that prompts the user to input the following:



  1. The length of the yard.

  2. The radius of a fully grown tree.(Use3.14159as the constant value for any calculations that may need\piπ).

  3. The required space between fully grown trees.


The program outputs:



  1. The number of trees that can be planted in the yard

  2. The total space that will be occupied by the fully grown trees.



Format your output withsetprecision(2)to ensure the proper number of decimals for testing!


Answered Same DayOct 01, 2021

Answer To: Instructions Paula and Danny want to plant evergreen trees along the back side of their yard. They...

Amar Kumar answered on Oct 02 2021
136 Votes
Output1
Output2
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here