The program to remove spaces from a string is discussed here. Given a string containing white spaces, the task is to remove all the spaces from the string and produce it as output.
For example, consider the following string.
Input 1 :
Hello All. Welcome to Face
Output 1:
HelloAll.WelcometoFace
Input 2:
F a c e
Output 2:
Face
@@coding::1@@
Recommended Programs