{
return true;
}
}
return false;
}
public static int[] createCountingArray(int num) {
// create a new array with the size of the given number
int[] array = new int[num];
//loop through the array with a for-loop begining from
// element 1 (i=1);
for (int i = 1; i