Esempio n. 1
0
 public bool debiter(MAD somme)
 {
     if (somme.estPositif() && solde.estPositif() && plafond.supPLAFOND(somme))
     {
         this.solde -= somme;
         return(true);
     }
     return(false);
 }
Esempio n. 2
0
 public bool crediter(MAD somme)
 {
     if (somme.estPositif())
     {
         this.solde += somme;
         return(true);
     }
     return(false);
 }