I need help on this final Project. Get me on aim at tafnam if u can help or email this to me at firstname.lastname@example.org
Farmer Jack's Mushroom Farm
You have decided to go into the mushroom farming business. You have gone out and rented a warehouse and built a mushroom bed 20 feet X 20 feet. You have enough money to seed the bed with 10 plants. Each plant grows in a 1X1 area of the bed. You will let those plants grow and propagate new plants until the bed is full. New plants are only born in vacant squares. The probability of a birth in any facant square depends on the number of neighboring plants. The probabilities are as follows:
Neighbors Prob. Of Birth
Mushrooms are very hardy and the probability of one dying decreases as the mushrooms farm becomes more dense. The probability of a living mushroom dying is small, only 2% if there are 100 or less mush rooms, 1% if there are 101-300 mushrooms and 0% if there are more than 300.
Write a program that simulates your mushroom farm. Allow the user to enter the first 10 plants and then "grow" the mushrooms according to the rules above. All births and deaths occur at one time overnight. The farm should continue until either the whole bed is full(harvest time) or all the mushrooms die(bankruptcy). Display each successive generation of plants and tell the user what happened when the farm stops(either harvest or bankrupt).
This is what I got so far: I need this by Wednesday Night.
count<<"Time to harvest the mushrooms";
void grow_farm(bool farm)