0
How could I inprove this code?
this is the code:: https://code.sololearn.com/calBY5rHo4HR/#cs
1 Answer
0
//Your program is equal to this program.
using System
namespace ConsoleApp8
{
class Program
{
static void Main()
{
string input = Console.ReadLine();
if(input !="") {
if (input.Contains(" "))
string output = input.Replace(" ","");
Console.WriteLine(input);
}
}
}
}