using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Programmation_objet_TLESIO21.TD4 { public class Commercial : Collaborateur { private int SalaireBase; private int ChiffreAffaire; private readonly double T2 = 1.1; public Commercial(String nom, String birthdate, int salaireBase, int chiffreAffaire) : base(nom, birthdate) { this.SalaireBase = salaireBase; this.ChiffreAffaire = chiffreAffaire; } public override double GetSalaire() { return this.SalaireBase + this.ChiffreAffaire * T2; } } }