Question: Create a recursive program that asks the user to enter a string. Then the program outputs a string consisting of every second letter of the

Create a recursive program that asks the user to enter a string. Then the program outputs a string consisting of every second letter of the input string. For example, if the user enters computational,the output from the program is opttoa.
Note: For full credit:
You must use recursion (i.e. a recursive module) to create this program. If you use a loop instead of recursion for this program you will receive 0 for this problem.
You must use parameters to pass information to the module.
The inputs and outputs must include appropriate sentences.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!