finalize the notenbewertung excercise
This commit is contained in:
parent
614362e61a
commit
66ac13f5c8
|
@ -48,11 +48,11 @@ namespace notenbewertung
|
|||
ti3.Personen.Add(herren);
|
||||
|
||||
Console.WriteLine(ibz.Standort);
|
||||
Console.WriteLine("------");
|
||||
Console.WriteLine();
|
||||
foreach (Klasse klasse in ibz.Klassen)
|
||||
{
|
||||
Console.WriteLine(klasse.Klassenbezeichnung);
|
||||
Console.WriteLine("------");
|
||||
Console.WriteLine();
|
||||
foreach (Person person in klasse.Personen)
|
||||
{
|
||||
Console.WriteLine(person.Name + " " + person.Vorname);
|
||||
|
@ -62,6 +62,10 @@ namespace notenbewertung
|
|||
Console.WriteLine("Notendurchschnitt: ");
|
||||
s.GetNotenDurchSchnitt();
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine("Dozent");
|
||||
}
|
||||
Console.WriteLine();
|
||||
}
|
||||
Console.WriteLine("------");
|
||||
|
|
Reference in New Issue