Gorsel Programlama | Görsel Programlama | C#.Net | VB.Net | C# Console

ana sayfa > VB.NET > İstediğin Dersi seçerek Sınav notunu hesaplayan Program VB.Net

İstediğin Dersi seçerek Sınav notunu hesaplayan Program VB.Net

Salı, 17 Kas 2009 yorum ekle yorumlara git

İstediğiniz bir dersi seçerek 2 yazılı ve 1 sözlü notunun ortalamalarını hesaplayıp sonucu msgboxda gösteren programı yapınız.

5

OLUŞTURULMASI : Bu programda 5 label, 1 combobox, 4 textbox ve 1 tanede button kullanacağız. Şekildeki gibi yerleşim yaptıktan sonra comboboxa dersleri yazıp notu msgboxda göstermek için buttona şu kodlar yazılmalıdır;




TextBox4.Text = Val(TextBox1.Text) + Val(TextBox2.Text) + Val(TextBox3.Text)
TextBox4.Text = Val(TextBox4.Text) / 3
If (TextBox4.Text > 0 And TextBox4.Text < 45) Then MsgBox("1")
If (TextBox4.Text > 44 And TextBox4.Text < 55) Then MsgBox("2")
If (TextBox4.Text > 54 And TextBox4.Text < 70) Then MsgBox("3")
If (TextBox4.Text > 69 And TextBox4.Text < 85) Then MsgBox("4")
If (TextBox4.Text > 84 And TextBox4.Text < 101) Then MsgBox("5")
If (TextBox4.Text > 100) Then MsgBox("hata")
If (TextBox4.Text < 0) Then MsgBox("hata") 

Projeyi İNDİR








Rica: Sitemizin Google'da Ön Sıralarda Çıkması İçin Lütfen Alttaki Google+ Butonuna Tıklayınız , Sayfamızı Facebookta Beğeniniz veya yazıları Twitter,Facebookta paylaşınız.
Paylaş :



Böyle bir web sayfam olsun diyorsanız iletişim bölümünden veya gorselprogram@gmail.com mail adresinden bize ulaşabilirsiniz.


Tüm cep telefonu aksesuar fırsatları için tıklayın !

  1. şimdilik yorum yok.
  1. şimdilik geri bağlantı yok