Question: 8.8 LAB: Remove spaces - functions Write a program that removes all spaces from the given input Ex If the input is: 'Hello my name
8.8 LAB: Remove spaces - functions Write a program that removes all spaces from the given input Ex If the input is: 'Hello my name is John.' the output is: Hellomynameisjohn. Your program must define and call the following function. The function should return a string representing the input string without spaces. void RemoveSpaces (string \&userString)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
