#include<bits/stdc++.h>
      using namespace std;
      int main()
      {
          int n;
          cin>>n;
          int arr[n+1];
          for(int i=0;i<n;i++)
              cin>>arr[i];
          for(int i=n-1;i>=0;i--)
              cout<<arr[i]<<" ";
          return 0;
      }
      
      Cpp language logo

      Array

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.