#include<iostream>
using namespace std;
int main()
{
int array[100]={4,5,6,7,32};
int pos,num;
// take value and position
cout<<"Enter the value that you want to insert in array:"<<endl;
cin>>num;
cout<<"Enter the position of array where you want to insert you entred vlue: "<<endl;
cin>>pos;
// insert value in array
for(int i=4;i>=pos;i--)
{
array[i+1]=array[i];
}
array[pos]=num;
// show array value after inserting
cout<<"new array is : "<<endl;
for (int i=0;i<6;i++)
{
cout<<"Value of array["<<i<<"]: "<<array[i]<<endl;
}
return 0;
}