Programalama > VISUAL BASIC


Ort. 0
Puan ver:
Gerekli olanlar:1 adet command
                        10 adet list


Dim carpim, i, j As Integer

Private Sub Command1_Click()
For i = 1 To 10
    Select Case i
    Case 1:
        For j = 1 To 10
        carpim = i * j
        List1.AddItem i & " * " & j & " = " & carpim
        Next j
    Case 2:
        For j = 1 To 10
        carpim = i * j
        List2.AddItem i & " * " & j & " = " & carpim
        Next j
    Case 3:
        For j = 1 To 10
        carpim = i * j
        List3.AddItem i & " * " & j & " = " & carpim
        Next j
    Case 4:
        For j = 1 To 10
        carpim = i * j
        List4.AddItem i & " * " & j & " = " & carpim
        Next j
    Case 5:
        For j = 1 To 10
        carpim = i * j
        List5.AddItem i & " * " & j & " = " & carpim
        Next j
    Case 6:
        For j = 1 To 10
        carpim = i * j
        List6.AddItem i & " * " & j & " = " & carpim
        Next j
    Case 7:
        For j = 1 To 10
        carpim = i * j
        List7.AddItem i & " * " & j & " = " & carpim
        Next j
    Case 8:
        For j = 1 To 10
        carpim = i * j
        List8.AddItem i & " * " & j & " = " & carpim
        Next j
    Case 9:
        For j = 1 To 10
        carpim = i * j
        List9.AddItem i & " * " & j & " = " & carpim
        Next j
    Case 10:
        For j = 1 To 10
        carpim = i * j
        List10.AddItem i & " * " & j & " = " & carpim
        Next j
    End Select
Next i
End Sub




murat
cyberwarriorforum@gmail.com


Yorumlar                 Yorum Yaz
Bu hazır kod'a ilk yorumu siz yapın!
KATEGORİLER
ASP - 240
ASP.NET - 24
C# - 75
C++ - 174
CGI - 8
DELPHI - 247
FLASH - 49
HTML - 536
PASCAL - 246
PERL - 11
PHP - 160
WML - 9
XML - 2
Copyright © 2002 - 2024 Hazır Kod - Tüm Hakları Saklıdır.
Siteden yararlanırken gizlilik ilkelerini okumanızı tavsiye ederiz.
hazirkod.com bir İSOBİL projesidir.