write a program to delete a number passing specific position from your array

write a program to delete a number passing specific position from your array

write a program to delete a number passing specific position shifting the element of an array to the left

{#include<iostream.h>
using namespace std;

int main()
{
 array i[5];
 int position;
 cout<<"\nPlease enter the no=";
 for(int n=0;n<5;i++)
 {
   cin>>i[n];
 }
 cout<<"\nEnter the position of the no u want to delete=";
 cin>>position;

 i[position]==NULL;

 cout<<"\nSuccessfully deleted";
 return 0;
 }