Question: Write a program that removes all non - alphabetic characters from the given input. Ex: If the input is: - Hello, 1 world$ ! the

Write a program that removes all non-alphabetic characters from the given input.
Ex: If the input is:
-Hello, 1 world$!
the output is:
Helloworld
Your program must define and call the following function that takes a string as a parameter and returns the string without any non-alphabetic characters.
string RemoveNonAlpha(string userString)
547014.3581748.qx3zqy7

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 Databases Questions!