✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
int[] a = new int[] { -3, 2, 1, -4, 0 };
int max = a[0];
for ( int i=0; i < 5; i++)
{ if (a[i] > max)
{ max = a[i]; int imax=i;}
}
Чому дорівнює imax по завершенні циклу?