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