15 years, 2 months ago
Highlights
Community contributions featured15 years, 2 months ago
Hello, void timestepfoward(){ otherfactors(); cout << "\n\nIt is currently year " << currentyear << " and the population is " <…
15 years, 2 months ago
void mysociety(){ cout << "Here is the current state of your society: \n\n"; //display current statistics cout << "The current population of…
15 years, 2 months ago
Formula: n x?i x?1 x?2 x?n ? p = p p ... p i=1 i 1 2 n Where: n = the nth number in a sequence x = a number in the sequence p = a prime number G[font="arial, sans-serif&quo…
15 years, 4 months ago
Okay so user has 10 points that he / she is allowed to distribute between three factors: a, b and c. As such, the user may choose to put 10 in a but none in b or c (or any other…
15 years, 4 months ago
Latest Activity
See all in DiscussionsHello, void timestepfoward(){ otherfactors(); cout << "\n\nIt is currently year " << currentyear << " and the population is " …
15 years, 2 months ago
This is my complete code.#include <iostream> #include <cmath> #include <math.h> #include <stdio.h> using namespace std; //MAIN FUNCTIONS: void intro(); // …
15 years, 2 months ago
Ok so first of all I assign initpop to 1000 (otherwise the formula wouldn't work (if it were 0)) then …
15 years, 2 months ago