using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace _17_12_2024 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } string[] isimler = new string[3]; int[] notlar = new int[3]; int index = 0; private void Form1_Load(object sender, EventArgs e) { } private void button1_Click(object sender, EventArgs e) { if(index enyuksek) { enyuksek = notlar[i]; } } textBox6.Text = enyuksek.ToString(); } private void button4_Click(object sender, EventArgs e) { int toplam = 0; double ortalama = 0; for (int i = 0; i < notlar.Length; i++) { toplam += notlar[i]; } ortalama = toplam / notlar.Length; textBox5.Text = ortalama.ToString(); } private void button5_Click(object sender, EventArgs e) { if (index < isimler.Length) { for (int i = 0; i < isimler.Length; i++) { if (isimler[i] != null) { listBox1.Items.Add(isimler[i] + " > " + notlar[i]); } } } } private void button6_Click(object sender, EventArgs e) { listBox1.Items.Clear(); } private void textBox2_TextChanged(object sender, EventArgs e) { } } }