Esempio n. 1
0
 public double getCondimentPrice()
 {
     if (cac == null)
     {
         return(0);
     }
     return(cac.getPrice() + cif.getCondimentPrice());
 }
Esempio n. 2
0
 public double computePrice(CoffeeIF cif)
 {
     return(cif.getCondimentPrice() + cif.getMenuPrice());
 }