Integer sequence

Could someone explain for example this
int min = u[1]; int sum = u[1]; for (int i = 2; i < u.length; i++)
And this
if (u[i] < min) min = u[i]; sum += u[i];
And this
int[] u = new int[10 + 1]; System.out.println("enter 10 integers in a row:"); for (int i = 1; i < u.length; i++) u[i] = in.nextInt();
3 Replies
JavaBot
JavaBot3y ago
Hey, @dghf! Please remember to /close this post once your question has been answered!
dan1st
dan1st3y ago
what exactly is it that you don't understand?
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?