I have error in my code

#include
using namespace std;

int main(){
int a[100];
int n;
cin>>n;
for(int i = 0;i<n;i++){
cin>>a[i];
}
for(int i = 0; i>n;i++){
cout<<a[i]<<endl;
}
int start = 0;
int end = n - 1;
while(start<=end){
swap(a[start],a[end]);
start++;
end–;
}
for(int i = 0; i>n;i++){
cout<<a[i]<<endl;
}
return 0;
}