Monday 20 August 2012

Console.Write-line | vb.net | draw table | For loop

Console.Write-line | vb.net | draw table  using code
Module Module1
Dim i, j, n As Integer

Sub Main()
Console.WriteLine("How many line do u want:")
n = Console.ReadLine()
For i = 1 To n
For j = 1 To n
Console.Write(j)
Next
n = n - 1
Console.WriteLine()
Next
Console.ReadLine()
End Sub

End Module
Share This
Previous Post
Next Post

FYJC XI standard online admisson Process and declaraton of Merit list . Cut off List For prevous year also . 10 Th Results onlne declaraton Maharashtra Region .

0 comments: