Can someone out there help me with this prog. ??
I have been trying to get this for the past 2 weeks !!
The question is:
Write a program to input an array having n integers. Display the array. Input a number x. Perform the following functions:
1)Delete all the occurunces of x;
2)Shift all the elements to the right side;
3)Fill the unused spaces by zero.
I have got an idea for deleting the program but the other 2 remain unsolved.