Public Class Form1
Private Sub xnilai_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles xnilai.TextChanged
Dim x As String = ""
xhasil.Text = ""
For i = 1 To Val(xnilai.Text)
x = ""
For j = 1 To i
x = x & i
Next
xhasil.Text = xhasil.Text & x & vbCrLf
Next
End Sub
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Sub
End Class

2 komentar
Write komentarpunya saya kok eror
Replycoba diperhatikan baik baik code nya sist
ReplyTerimakasih Atas Komentar Anda....!!! :) EmoticonEmoticon