#include #include using namespace std; typedef float PopulationT; const PopulationT R = 3.97; const int MAX_POPULATION = 10000; PopulationT NewPopulation(PopulationT oldPopulation); int main() { int i; PopulationT currentGen, nextGen; currentGen = .5; cout << setprecision(10); cout << "Generation % of Max Population" << endl; for (i=0; i < 20; i++) { cout <