Ustalar okuyorum ama işin işinden çıkamıyorum yardım edebilicek varmı ?
Bir ders için yapılan iki ara sınav ve bir genel sınav sonucu değerlendirilerek geçme notu hesaplanacaktır.Bu dersin geçme notu 1.ara sınav notunun %20'si, 2.ara sınav notunun %30'u ve genel sınav notunun%50'si toplanarak hesaplanmaktadır.Geçme notunu hesaplayan ve sonucu ekrana yazdıran programı yazınız
Console.Title = "Not Hesaplama";
int s1, s2, genel, ort = 0;
string ss1, ss2, genelx;
Console.WriteLine("1.ders notu girin : ");
ss1 = Console.ReadLine();
Console.WriteLine("2.ders notu girin : ");
ss2 = Console.ReadLine();
Console.WriteLine("3.ders notu girin : ");
genelx = Console.ReadLine();
s1 = Convert.ToInt32(ss1);
s2 = Convert.ToInt32(ss2);
genel = Convert.ToInt32(genelx);
ort = ((s1 * 20) / 100) + ((s2 * 30) / 100) + ((genel * 50) / 100);
Console.WriteLine("Ortalam :" + ort.ToString());
Console.ReadKey();buyrun hocam