Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Ortalama Hesaplayici
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { // iki sinav sonucu alınacak // vize için %40 oran // final için %60 oran alınacak // ekrana ortalama ve geçme durumu yazılacak Console.WriteLine("Vize notunu giriniz:"); var vize = Convert.ToInt32(Console.ReadLine()); Console.WriteLine("Final notunu giriniz:"); var final = Convert.ToInt32(Console.ReadLine()); var ortalama = (vize * 40 + final * 60)/100; Console.WriteLine("Geçme notunu giriniz:"); var gecmeNotu = Convert.ToInt32(Console.ReadLine()); Console.WriteLine(string.Format("Sinav ortalamaniz {0}", ortalama)); if (ortalama >= gecmeNotu) { Console.WriteLine("Gectiniz!"); } else { Console.WriteLine("Kaldiniz!"); } } } }
run
|
edit
|
history
|
help
0
ATM
Jerold
Exp Regular
Sam a,b and c
show IP
Convert from one encoding to another
stack using LinkedList in C#
Swap 1
merge 2 arrays
Programmes