I am really guessing here because you don't tell us what you expected and what you got. But maybe you got no output -- if that is the case was it because you forgot to put a std::endl in your code e.g. add line 25 :

cout<<endl;

The algorithm is a suffle down deletion, i.e if you have a set of number : 11 12 13 14 15, and you want to delete the number in the second position (12). you want to modify the array to be :

11 13 14 15

BUT not that because you have reduced the size of the array by one, the element in position 5 (i.e LA[4]) can be anything and it this case your output would have been

11 13 14 15 15

That is because in you code you wrote

for(int P=0;P<=4;P++)
cout<<" "<<LA[P];

However better might have been:

for(int P=0;P<N;P++)
cout<<" "<<LA[P];

If that doesn't cover the problem, tell us what you got and what you expected and we will try to help.

I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...

Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...