@ollirz @Tazzmikar 🥺
You probably don't want to start at index 0 again. If you want to fill the remaining places you could start at userSize instead
int morePlace(int arr[], int userSize, int size) {
int counter = 0;
for (int i = 0; i < size; i++) {
^^^^^^^^^^
also, you probably don't want to run these comparisons over and over again, running them once or size times doesn't change the outcome of the condition
if (userSize != size) {
// <omitted>
}
else if (userSize == size) {
// <omitted>
}
Instead you could do something like this (pseudocode)
if array is full:
print message
else:
for every unused array element:
ask for an element to fill it with
fi