Something like below should do it. Start with 1 because the line 3 initialized the index 0 with the input value. Then based on your requirement, array[1] = index[0] + input or anArray[0] , and so on...
for (int j=1; j < anArray.length; j++) {
anArray[j] = anArray[j-1] +anArray[0];
}
Output:
Enter an integer and hit Return: 100
Element at index 0: 100
Element at index 1: 200
Element at index 2: 300
Element at index 3: 400
Element at index 4: 500
Element at index 5: 600
Element at index 6: 700
Element at index 7: 800
Element at index 8: 900
Element at index 9: 1000