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
fsdf
find maximum consecutive repeating character
Count vowels in a string
Jennifer Lawrence hot season Live cam
convert a string of numbers to a list then use a forEach to loop through the list
Exception
linq by Jean
File_operations
Fórum ➡ My Category Attribute ↔ New Default Attribute: Behavior ♦
C++