I wrote the following program to delete an array element entered by the user.
#include #include void main() { int j, i,
After l-- put i-- too as shown below
if(a[i]==key) { for(j=i;j