Exemple #1
0
        public int GetDistanceTotale()
        {
            int distTotal;

            distTotal = natation.GetDistance() + course.GetDistance() + velo.GetDistance();
            return(distTotal);
        }
Exemple #2
0
        public int GetDistanceTotale()
        {
            int totale;

            totale = natation.GetDistance() + velo.GetDistance() + course.GetDistance();
            return(totale);
        }