Question: Write a program that extracts a substring from the alphabet string based on the starting letter and the step. The step cannot be zero. The
Write a program that extracts a substring from the alphabet string based on the starting letter and the step. The step cannot be zero. The starting letter can be entered as lowercase or upper case. You need to validate the input as shown in the sample runs. Hint: use find method to get the index of the entered letter. (Using for loop)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
