using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Lohnabrechnung { internal class Praktikant : Lohnsklaven { private string? abteilung; public Praktikant(string? abteilung, string? name, string? vorname) { this.abteilung = abteilung; this.name = name; this.vorname = vorname; fußabtreter(); } public void fußabtreter() { if (this.abteilung == "Entwicklung") { this.gehalt = 935; } else if (this.abteilung == "Vertreib") { this.gehalt = 820; } else if (this.abteilung == "Procuktion") { this.gehalt = 710; } } } }