I would like to start a vector [300] and another [500], but in a way that looks like an array for the user ... for example, I made one of [100], where I looped to start this vector and an "if" for it to break the line so that when it arrived in divisible values by 10 it realized as said.
for(l=0;l<100;l++){
if(l%10==0) // if de quebra de linha
printf("\n");
if(vetorCEM[l]==0)
printf("[%2d]-",l+1);
The second if is just to show the explicit content of my vector, but what I want to highlight is this example I used, but for the 300 and 500 I did not succeed, I would like someone to help me, plisss !!