Ejemplo n.º 1
0
    public static void Main(string[] args)
    {
        DisciplinaSemestral ds1 = new DisciplinaSemestral("POO", 100, 100, 0);

        Console.WriteLine($"{ds1.GetNome()}\t{ds1.CalcMediaParcial()}\t{ds1.CalcMediaFinal()}");
        DisciplinaSemestral ds2 = new DisciplinaSemestral("Algoritmos", 80, 40, 60);

        Console.WriteLine($"{ds2.GetNome()}\t{ds2.CalcMediaParcial()}\t{ds2.CalcMediaFinal()}");
        DisciplinaAnual da1 = new DisciplinaAnual("Programação", 70, 70, 40, 40, 0);

        Console.WriteLine($"{da1.GetNome()}\t{da1.CalcMediaParcial()}\t{da1.CalcMediaFinal()}");
        return;
    }