début projet pokemon
This commit is contained in:
@ -19,10 +19,10 @@ namespace Programmation_objet_TLESIO21.TD4 {
|
||||
double salaire = 0;
|
||||
|
||||
if(this.NbHeures > 35) {
|
||||
salaire += (this.NbHeures - 35) * this.TauxHoraire * T1;
|
||||
salaire += (this.NbHeures - 35) * this.TauxHoraire * T1 * 4;
|
||||
}
|
||||
|
||||
salaire += this.NbHeures * this.TauxHoraire;
|
||||
salaire += this.NbHeures * this.TauxHoraire * 4;
|
||||
|
||||
return salaire;
|
||||
}
|
||||
|
@ -4,6 +4,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Programmation_objet_TLESIO21.TD3.fleuriste;
|
||||
using static System.Net.Mime.MediaTypeNames;
|
||||
|
||||
|
||||
namespace Programmation_objet_TLESIO21.TD4 {
|
||||
@ -43,6 +44,7 @@ namespace Programmation_objet_TLESIO21.TD4 {
|
||||
public static void Launch() {
|
||||
Exo1();
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user