Wyo C++ Name
-
Ch. 9 Wksht #8
Write a function that accepts a string and returns the string with all of its blank spaces removed.
Write out the complete function definition below following the function header provided.
apstring removeSpaces(apstring stringIn)
// precondition: stringIn is a string variable consisting of one
or more characters
// postcondition: returns the string formed by removing the blank
spaces in stringIn