Question: Use simple c++ programming. If & Else, While & For. You will develop a program for timber regrowth management. Timber management requires a calculation of
You will develop a program for timber regrowth management. Timber management requires a calculation of how much timber to leave uncut each year so that the harvested area is reforested according to resource conservation guidelines. Inputs to the problem are: e name of the forest . total desired reforestation area . amount of timber unharvested at the start of the plan reforestation rate (expressed as a decimal), which depends on variables such as climate Example 100 acres are left uncut in the initial period The reforestation rate is 0.05 (or 5%) The number of acres forested (uncut) at the end of year is: end of year calculate number of acres forestedresult 105.00 110.25 105+105 0.05 20 05 EGR 126 PRORECT 1 DRMUTLU Page 1 USER INPUTS (a) Forest name (one word) - See chapter 2 page 46 for string data example (b) Total acreage (desired reforestation area) (c) Number of acres uncut at beginning of period (d) Reforestation rate (a decimal number or percentage such as 0.05 or 5%) MENU OPTIONS Three menu options including Exit 1. Option 1. Forestation table (exactly 30 years) 2. Option 2. Reforestation calculator 3. Exit Program Requirements: Output must re-display user inputs (forest name, acreage, initial uncut acres, and reforestation rate) Forestation table will have 2 columns and must display the year and the number of acres forested at the end of years 1 30 (similar to the example) . Forestation calculator displays the number of years required for the given total acreage to be
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
