Computer Science, asked by mohdawais725, 5 hours ago

Step 1: Initialize the counter variable
I = N

Step 2: {Start loop to move the element}

repeat step 3&4 while (I > K) or (I > > K)

Step 3: moving element

A {I} - A I {-I} or A {I+I} = A {I}

Step 4: decrement the counter variable

I = I 1

{end loop }

Step 5: add new element

A {k} = item

Step 6: add memory location

N = N+1

Step 7: finish exit

need c++ parogram

Answers

Answered by jagdishpradhan519
1

Answer:

thanks for the help and very very thanks

Similar questions