Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Reverse Elements Of Array

This program takes an array of size N and prints the array by reverseing its elements.

Input Format

  • The input consists of two lines.
  • In the first line, there will be a single integer N.
  • In the second line, there will be N space separated integers.

Output Format

A single line,there will be N space seperated elements of new reversed array.

Sample Input

5
1 3 4 5 6

Sample Output

6 5 4 3 1

Implemented in: