PX_backAround_lastname(4 files)

Purpose: To use a java program to do string manipulation.



/* Instructions:
*
* Given a string,
* take the last char and
* return a new string with
* the last char added at the
* front and back, so "cat" yields "tcatt".
* The original string will be length 1 or more.
*
* backAround("cat") → "tcatt"
* backAround("Hello") → "oHelloo"
* backAround("a") → "aaa"
*
*
* Note: your value for this exercise will be different based on your seat number
*/

Create the following files:
  • PX_missingChar_lastname.java (Actual Java program)
  • PX_missingChar_lastname.txt (Copy of Java program)
  • PX_missingChar_lastname.png (Screen shot of program running)
  • PX_missingChar_lastname.mp4 (Video of you running the program)
  • Click on this link to see the source code.
  • Click on this link to see result that will be similar to yours but not exact.
  • Click on this link to see what array data you need to use based on your seat number.