#include #difine max=100 int main() { int a[max]; int i,n,j,t; cout<<"Enter Number Of Items"; cin>>n; for(i=0;i>a[i]; } i=0;j=n-1; while(i