예제 #1
0
 public double CalculateInterest()
 {
     return(Amount * Period * _festivalrate.Rate() / 100);
 }
예제 #2
0
        public double CalculateSimpleInterest()
        {
            double simpleinterest = _principalamount * _festivaltype.Rate() * _duration;

            return(simpleinterest);
        }