How can I increase values in an array by a percent input by the user? In C# : <p>So I want to store several values in an array, then I want to modify those values that I stored by a percent that I also input. This is what I have so far, I just don't know how to call the values to be modified by a percent that I input.</p>

<pre><code>static void Main(string[] args)
    {

    double[] array = new double[5];
    Console.WriteLine("Enter 5 values.");
    for (int i = 0; i &lt; 5; i++)
    {
        array[i] = Convert.ToDouble(Console.ReadLine());
    }

    double sum = 0;

    foreach (double d in array)
    {
        sum += d;
    }

    Console.WriteLine("The values you've entered and their index number.");
    Console.WriteLine("{0}{1,8}", "index", "value");
    for (int counter = 0; counter &lt; 5; counter++)
        Console.WriteLine("{0,5}{1,8}", counter, array[counter]);
    Console.WriteLine("Enter percent increase ");

    double percent;
        percent = 1+1;
    Console.WriteLine("The percent is " + percent);

    Console.WriteLine("The new values increased by Percent are ");
    Console.ReadLine();

    }
</code></pre>
