.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Code Snippets >> Visual Studio >> Post New Resource Bookmark and Share   

 Subscribe to Code Snippets

Reverse The Given String Using Console Application...

Posted By:Ghanashyam Nayak       Posted Date: December 04, 2010    Points: 15    Category: Visual Studio    URL: http://www.dotnetspark.com  

Code for reverse the given user string in console application...
 

Sub Main()
	Dim i, j As Integer
	Dim str(10) As String
	Console.WriteLine("Enter here your string : ")
	str = Console.ReadLine()
	i = 0
	For i = 0 To str(i) = " "
		j = j + 1
	Next i

	For i = j - 1 To 0 Step -1
		Console.WriteLine(str(i))
	Next i
	Console.ReadLine()
End Sub

     

Further Readings:

Responses

No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More code samples in C#, ASP.Net, Vb.Net and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend