i am a beginner in programming and i need your help please,
i want to find the maximum , minimum , average , standard divtion and Mod for an array ,
and i am really stuk !
i used this Code for finding the maximim and it doesn't work !
int i; double max = x[0]; for (i = 1; i < x.Length; i++) if (x[i] > max) max = x[i]; textBox10.Text = max.ToString();
and this one for manimum and also doesn't work
int i; double min= x[0]; for (i = 1; i > x.Length; i++) if (x[i] < min) min= x[i]; textBox9.Text = min.ToString();
Help me please :crying:


Sign In
Create Account

Back to top









