THE CODE FOR: Reverse a String
The code is structured in three functions
getString
Gets string input from the user.
reverseString
The main logic of the app which reverses the string.
displayString
The function to display the result.
The code is structured in three functions
Gets string input from the user.
The main logic of the app which reverses the string.
The function to display the result.