Hello,
Looking for a program that can revesre a sentance in such a manner
INPUT:C# Corner is best place for developer
OUTPUT:developer for place best is corner C#
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rajeev PunhaniPosted Jan 7, 2016, 11:47 PM
MahaPosted Jan 7, 2016, 5:18 PM
Ankur MistryPosted Jan 7, 2016, 10:35 AM
Rajeesh MenothPosted Jan 7, 2016, 9:00 AM
Francis SusaimichaelPosted Jan 7, 2016, 8:41 AM
{
string yourInput = "C# Corner is best place for developer";
string output = String.Join(" ", yourInput.Split(' ').Reverse());
Console.WriteLine(output);
Console.ReadLine();
}
Ashok KumarPosted Jan 7, 2016, 8:26 AM