public double bel, math, english, phys, chem, bio;
public static void Main()
Student std = new Student();
Console.WriteLine("Въведете клас: ");
std.clas = Console.ReadLine();
Console.WriteLine("Въведете номер: ");
std.id = Console.ReadLine();
Console.WriteLine("Въведете име: ");
std.name = Console.ReadLine();
Console.WriteLine("Оценка БЕЛ: ");
std.bel = double.Parse(Console.ReadLine());
Console.WriteLine("Оценка Математика: ");
std.math = double.Parse(Console.ReadLine());
Console.WriteLine("Оценка Английски: ");
std.english = double.Parse(Console.ReadLine());
Console.WriteLine("Оценка Физика: ");
std.phys = double.Parse(Console.ReadLine());
Console.WriteLine("Оценка Химия: ");
std.chem = double.Parse(Console.ReadLine());
Console.WriteLine("Оценка Биология: ");
std.bio = double.Parse(Console.ReadLine());
std.average = (std.bel + std.math + std.english + std.phys + std.chem + std.bio)/6;
Console.WriteLine("С П Р А В К А");
Console.WriteLine("за успеха на {0}, ученик от", std.name);
Console.WriteLine("{0} клас, номер {1}", std.clas, std.id);
Console.WriteLine("БЕЛ - {0,4:0.00}", std.bel);
Console.WriteLine("Математика - {0,4:0.00}", std.math);
Console.WriteLine("Английски - {0,4:0.00}", std.english);
Console.WriteLine("Физика - {0,4:0.00}", std.phys);
Console.WriteLine("Химия - {0,4:0.00}", std.chem);
Console.WriteLine("Биология - {0,4:0.00}", std.bio);
Console.WriteLine("Среден успех - {0,4:0.00}", std.average);