Notes
Notes - notes.io |
Dim a(5, 4)
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
'5 e 4lük bir matris oluşturup textbox içine atama + matrisleri buton ve ınputbox
'ile giriş sağlama
Dim i, j As Integer
TextBox1.Text = ""
For i = 1 To 5
For j = 1 To 4
a(i, j) = Val(InputBox("a matrisi" & i & "," & j & ".elemanın değeri:" & "1"))
TextBox1.Text = TextBox1.Text & "" & a(i, j)
Next j
TextBox1.Text = TextBox1.Text & vbCrLf 'vbCrlf alt satıra atlamak için
Next i
End Sub
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
Dim i, j As Integer
Dim enk, enk2, enk3, enk4, enk5, enb, enb2, enb3, enb4, enb5,
enbs, enbs2, enbs3, enbs4, enks, enks2, enks3, enks4 As Integer
enk = a(1, 1)
enb = a(1, 1)
enk2 = a(2, 1)
enk3 = a(3, 1)
enk4 = a(4, 1)
enk5 = a(5, 1)
enks = a(1, 1)
enks2 = a(2, 1)
enks3 = a(3, 1)
enks4 = a(4, 1)
enbs = a(1, 1)
'satıdaki küçük büyük sıralamaları
For i = 1 To 1
For j = 1 To 4
If a(i, j) < enk Then
enk = a(i, j)
End If
If a(i, j) > enb Then
enb = a(i, j)
End If
Next
Next
For i = 2 To 2
For j = 1 To 4
If a(i, j) < enk2 Then
enk2 = a(i, j)
End If
If a(i, j) > enb2 Then
enb2 = a(i, j)
End If
Next
Next
For i = 3 To 3
For j = 1 To 4
If a(i, j) < enk3 Then
enk3 = a(i, j)
End If
If a(i, j) > enb3 Then
enb3 = a(i, j)
End If
Next
Next
For i = 4 To 4
For j = 1 To 4
If a(i, j) < enk4 Then
enk4 = a(i, j)
End If
If a(i, j) > enb4 Then
enb4 = a(i, j)
End If
Next
Next
For i = 5 To 5
For j = 1 To 4
If a(i, j) < enk5 Then
enk5 = a(i, j)
End If
If a(i, j) > enb5 Then
enb5 = a(i, j)
End If
Next
Next
'sütündaki büyük küçük sıralamaları
For i = 1 To 5
For j = 1 To 1
If a(i, j) < enks Then
enks = a(i, j)
End If
If a(i, j) > enbs Then
enbs = a(i, j)
End If
Next
Next
For i = 1 To 5
For j = 2 To 2
If a(i, j) < enks2 Then
enks2 = a(i, j)
End If
If a(i, j) > enbs2 Then
enbs2 = a(i, j)
End If
Next
Next
For i = 1 To 5
For j = 3 To 3
If a(i, j) < enks3 Then
enks3 = a(i, j)
End If
If a(i, j) > enbs3 Then
enbs3 = a(i, j)
End If
Next
Next
For i = 1 To 5
For j = 4 To 4
If a(i, j) < enks4 Then
enks4 = a(i, j)
End If
If a(i, j) > enbs4 Then
enbs4 = a(i, j)
End If
Next
Next
'satırdaki küçükler
ListBox1.Items.Add("en kücük eleman" & enk)
ListBox1.Items.Add("en kücük eleman" & enk2)
ListBox1.Items.Add("en kücük eleman" & enk3)
ListBox1.Items.Add("en kücük eleman" & enk4)
ListBox1.Items.Add("en kücük eleman" & enk5)
'satırdaki büyükler
ListBox2.Items.Add("en büyük elaman" & enb)
ListBox2.Items.Add("en büyük elaman" & enb2)
ListBox2.Items.Add("en büyük elaman" & enb3)
ListBox2.Items.Add("en büyük elaman" & enb4)
ListBox2.Items.Add("en büyük elaman" & enb5)
'sütündaki küçükler
ListBox3.Items.Add("en kücük eleman" & enks)
ListBox3.Items.Add("en kücük eleman" & enks2)
ListBox3.Items.Add("en kücük eleman" & enks3)
ListBox3.Items.Add("en kücük eleman" & enks4)
'sütundaki büyükler
ListBox4.Items.Add("en büyük eleman" & enbs)
ListBox4.Items.Add("en büyük eleman" & enbs2)
ListBox4.Items.Add("en büyük eleman" & enbs3)
ListBox4.Items.Add("en büyük eleman" & enbs4)
End Sub
End Class
![]() |
Notes is a web-based application for online taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000+ notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 14 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team
