CS-1C Assignment 10

$30.00

Category: You will Instantly receive a download link for .zip solution file upon Payment || To Order Original Work Click Custom Order?

Description

5/5 - (3 votes)

1. Obtain the following string: abcdefghijklmnopqrstuvwxyz
(as input or using initialization)
2. Using recursion, write a reverse function that reverses the
characters in a string or character array given two indices
(starting and ending). The string or the character array
should reflect the reversal.
3. Read indices as input
12,19
4. Call the reverse function to reverse letters: 12-19
5. Read indices as input
5,23
6. Call the reverse function to reverse letters: 5,23
7. Using the reverse function, reverse the alphabet
8. Print the reversed string or character array.
Your output should contain
abcdefghijksrqponmltuvwxyz
abcdwvutsrqponmlkjihgfexyz
zyxwvutsrqponmlkjihgfedcba
You should only have one execution.
Due April 6th