I need to create an array with 100 numbers (1-100) and then calculate how much it all will be (1+2+3+4+..+100 = sum).
I don\'t want to enter these numbers into the a
int count = 100; int total = 0; int[] numbers = new int[count]; for (int i=0; count>i; i++) { numbers[i] = i+1; total += i+1; } // done