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

Top 5 Contributors of the Month
Ava Aiden
Imran Ghani
Thomas Shaw

Post New Resource Bookmark and Share   

Reverse The Given Number Using Console Application...

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

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

Sub Main()
	Dim num, i As Integer
	Console.WriteLine("Enter the number : ")
	n = Console.ReadLine()
	While (n > 0)
		i = (n Mod 10)
		n /= 10
	End While
End Sub


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply

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