1234
123
12
1
how to design above pic in vb.net?

Answers were Sorted based on User's Feedback



1234 123 12 1 how to design above pic in vb.net?..

Answer / sonia

Sub main()

Dim i, j As Integer
For i = 4 To 1 Step -1
For j = 1 To i
Console.Write(j)
Next
Console.WriteLine()
Next

Console.ReadLine()
End Sub
End Module

Is This Answer Correct ?    10 Yes 1 No

1234 123 12 1 how to design above pic in vb.net?..

Answer / viji

Sub main

Dim j As String
Dim i As Integer

j = 1234

For i = Len(j) To 1 Step -1
Console.Write(Mid(j, 1, i))
Console.WriteLine()

Next
End Sub

Is This Answer Correct ?    2 Yes 3 No

Post New Answer

More VB.NET Interview Questions

what is vb,net

1 Answers   ME,


How to execute VB.NET PROJECTS,VB6.0 PROJECTS AND write their test cases.Need Reply Urgently

0 Answers  


Is vb net a scripting language?

0 Answers  


What is JIT(Just In Time) and How it works?

5 Answers   Data Entry Operator, Infocons, Siemens,


List the different types of assembly?

0 Answers  






Is there any easy way to convert VB6 programs to VB.Net?

3 Answers  


Explain the difference between vb.net and c#, related to oops concepts?

0 Answers  


Explain an assembly?

0 Answers  


What is MSIL

8 Answers  


What is the difference between Abstract Classes and Interfaces? Give the answer as a table format....

5 Answers  


What are the differences between c# and visual basic.net?

0 Answers  


what are the types of threading models in VB.net ?

1 Answers   Satyam,


Categories