[Solved] How can I do an average reverse in c#? [closed]
Here is a method that will do just that. public double[] AverageReverse(double targetAverage, double range) { var r = new Random(); // TODO: Cache it between calls to avoid “why does ny Random class only produce the same numbers?” var n1 = targetAverage – r.NextDouble() * range; var n2 = targetAverage + r.NextDouble() * range; … Read more