• API
• FAQ
• Tools
• Archive
daily pastebin goal
29%
SHARE
TWEET

# Untitled

a guest Jan 23rd, 2019 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
1.     double determinePopulation(int Region){
2.         double population = Curr_Pop[Region];
3.         int counter = 0;
4.         double percentDelta;
5.         while(counter <= 9){
6.         percentDelta = Percentages[Region][Region];
7.         for(int x = 0; x<=6; x++){ //To
8.             if(x==Region){
9.                 //just dont
10.             }else{
11.                 percentDelta = percentDelta + Percentages[x][Region];
12.             }
13.         }
14.         for(int x = 0; x<=6; x++){ //From
15.             if(x==Region){
16.                 //just dont
17.             }else{
18.                 percentDelta = percentDelta - Percentages[Region][x];
19.             }
20.         }
21.         population = population + (population * percentDelta);
22.         counter++;
23.         }
24.         return population;
25.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.

Top