C#
float[] array1 = new float[10];
float[] array2 = new float[10];
Random random = new Random();
for (int i = 0; i < array1.Length; i++)
{
array1[i] = random.Next(1000, 1000);
Console.WriteLine($"Client {i}. {array1[i]}$");
}
Console.WriteLine("After one year");
array2[i] = array1[i] * 1.2f; //1 + 20 / 100
Console.WriteLine($"Client {i}. {array2[i]}$");
C#
float[] array1 = new float[10];
float[] array2 = new float[10];
Random random = new Random();
for (int i = 0; i < array1.Length; i++)
{
array1[i] = random.Next(1000, 1000);
Console.WriteLine($"Client {i}. {array1[i]}$");
}
Console.WriteLine("After one year");
for (int i = 0; i < array1.Length; i++)
{
array2[i] = array1[i] * 1.2f; //1 + 20 / 100
Console.WriteLine($"Client {i}. {array2[i]}$");
}