public static void main1(String[] args) {
int[] array = new int[100];
for (int i = 0; i < array.length; i++) {
array[i] = i+1;
}
printArray(array);
//System.out.println(Arrays.toString(array));
}
public static void printArray(int[] array) {
for (int i = 0; i < array.length; i++) {
System.out.print(array[i]+" ");
}
System.out.println();
}
}