Declare and implement a function called reversePrint
.
You should accept a single array of Char
values as your only argument, and print that array backwards,
one character on each line.
Your function should return the length of the array as an Int
.
Stuck? You may find these lessons helpful: