Challenge:: WAP to filter multiple spaces. | Sololearn: Learn to code for FREE!

+1

Challenge:: WAP to filter multiple spaces.

Write a program(in any language) to accept user input and filter multiple spaces in it. eg:- //input : I am Divyansh Saxena //output: I am Divyansh Saxena

11/25/2017 6:18:22 AM

Divyansh Saxena

2 Answers

New Answer

+7

Hey! That's the default behavior... here https://code.sololearn.com/Wo7T9nsbahxJ/?ref=app

+1

here it is my code https://code.sololearn.com/c8hhl0nGkuvb/?ref=app