· Practice looping over arrays or Strings in a more complicated fashion
· The harder part will be getting it to work well for even and odd-length Strings/Arrays
1. Your code should:
a. Read in a string
b. (Optionally: convert to a char[] with String.toCharArray(), otherwise, use charAt())
c. Reverse the string and display
d. “shuffle” the string and display- basically split the string in half (at the middle) and then pull one from the first, one from the second, until they are all gone (see examples). This is like riffle shuffling cards.
e. “shuffle outside-in” – output the cards in first, last, second, second-to-last, third… order. Also, see examples.
2. Your code should work on both even and odd numbers of characters.
3. Sample execution:

None! Have a good break.