From TRCCompSci - AQA Computer Science
L419 private const int MaxRabbitsInWarren = 99;
L711 private const int DefaultLifespan = 7;
L712 private const double DefaultProbabilityDeathOtherCauses = 0.1;
L769 const double ReproductionProbability = 0.25;
L802 private const double DefaultReproductionRate = 1.2;
L803 private const int DefaultLifespan = 4;
L804 private const double DefaultProbabilityDeathOtherCauses = 0.05;
- Keyword const declares a variable when the program is compiled.
- This variable is unable to be edited by the program after it has started running.