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 nonalphabetic characters from the given input.
Ex: If the input is:
Hello, 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 nonalphabetic characters.
string RemoveNonAlphastring userString
qxzqy
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
