AÇIKLAMA
Verilen bir kelimenin büyük ünlü uyumuna uyup uymadığını kontrol ediniz. Kelimenin büyük harfle veya küçük harfle yazılabileciğini de dikkate alınız.
Büyük ünlü uyumu: Türkçe’de, bir kelimedeki sesli harflerin hepsi “a,ı,o,u” harflerinden ya da “e,i,ö,ü” harflerinden oluşuyor ise; o kelime büyük ünlü uyumuna uygundur.
Programın Tamamını Aşağıdaki Linkten İndirebilirsiniz
Linki Görebilmeniz İçin Üye Olmanız Gerekmektedir...
Üye Kayıt
Program Kodu:
using System; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; namespace BuyukUnluUyumu { public partial class Form1 : Form { bool CheckCharecter = false; bool EvenOrNotEven = false; bool NotCorrect = false; char[] characters1 = { 'a', 'A', 'ı', 'I', 'o', 'O', 'u', 'U'}; char[] characters2 = { 'e', 'E', 'i', 'İ', 'ö', 'Ö', 'ü', 'Ü'}; char[] characters3 = { 'a', 'A', 'ı', 'I', 'o', 'O', 'u', 'U', 'e', 'E', 'i', 'İ', 'ö', 'Ö', 'ü', 'Ü' }; public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { CheckCharecter = false; EvenOrNotEven = false; NotCorrect = false; label1.Text = ""; for (int i = 0; i < textBox1.Text.Length; i++) { if (textBox1.Text[i].ToString() == " ") { MessageBox.Show("Tek Metin Girin!!!\n"); EvenOrNotEven = true; break; } else { for (int l = 0; l < characters3.Length; l++) { if (textBox1.Text[i] == characters3[l]) { CheckCharecter = true; } } } } if (CheckCharecter != false && EvenOrNotEven == false) { for (int i = 0; i < textBox1.TextLength; i++) { if (textBox1.Text[i] == 'a' || textBox1.Text[i] == 'A' || textBox1.Text[i] == 'ı' || textBox1.Text[i] == 'I' || textBox1.Text[i] == 'o' || textBox1.Text[i] == 'O' || textBox1.Text[i] == 'u' || textBox1.Text[i] == 'U') { for(int j = i; j < textBox1.TextLength; j++) { if (textBox1.Text[j] == 'e' || textBox1.Text[j] == 'E' || textBox1.Text[j] == 'i' || textBox1.Text[j] == 'İ' || textBox1.Text[j] == 'ö' || textBox1.Text[j] == 'Ö' || textBox1.Text[j] == 'ü' || textBox1.Text[j] == 'Ü') { label1.Text = "Büyük Ünlü Uyumuna Uymuyor"; NotCorrect = true; break; break; break; } } } else if (textBox1.Text[i] == 'e' || textBox1.Text[i] == 'E' || textBox1.Text[i] == 'i' || textBox1.Text[i] == 'İ' || textBox1.Text[i] == 'ö' || textBox1.Text[i] == 'Ö' || textBox1.Text[i] == 'ü' || textBox1.Text[i] == 'Ü') { for (int j = i; j < textBox1.TextLength; j++) { if (textBox1.Text[j] == 'a' || textBox1.Text[j] == 'A' || textBox1.Text[j] == 'ı' || textBox1.Text[j] == 'I' || textBox1.Text[j] == 'o' || textBox1.Text[j] == 'O' || textBox1.Text[j] == 'u' || textBox1.Text[j] == 'U') { label1.Text = "Büyük Ünlü Uyumuna Uymuyor"; NotCorrect = true; break; break; break; } } } } } else { MessageBox.Show("Sesli Harf Yok"); } if (NotCorrect == false) { label1.Text = "Büyük Ünlü Uyumuna Uyuyor!!!"; } } } }