Answer the question
In order to leave comments, you need to log in
How to solve an array problem?
In the sequence a1, ..., a10, all elements behind the element with the largest value (first in order, if there are several), increase by one.
double[] a = new double[10];
for (int i=0;i<10;i++ )
{
Console.Write("Введите число A[" + i + "]: ");
a[i] = double.Parse(Console.ReadLine());
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question