Reverse Array

code:

Used Subeen vai’s book for the example