début projet pokemon

This commit is contained in:
2022-10-13 13:53:26 +02:00
parent 6c800f4e6f
commit a94c17f1a0
15 changed files with 1710 additions and 7 deletions

View File

@ -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;
}

View File

@ -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();
}