//Methods
 public double MoneyLeftOverYearly( LivingLocation location )
 {
     return this.Income-((location.getTotalCost()-location.getTotalDeduction())/YearCount) ;
 }
Example #2
0
//Methods
        public double MoneyLeftOverYearly(LivingLocation location)
        {
            return(this.Income - ((location.getTotalCost() - location.getTotalDeduction()) / YearCount));
        }