hi there
i am writing a project that simulates olympics skating, basically it takes in 2 values m and n
where m= # of team and n= # of couples.
now i have to simulate a skater, which has attirbutes coupleid, teamid repressnting which couple and team he belongs to.
my question is how exactly do i do that if i have to adhere to Object oriented design?? i have a skate class written already, with the coupleid and teamid as private data members. but i dunno how to make each skater pick its couple and team
any help would be greatly appreciated
i am writing a project that simulates olympics skating, basically it takes in 2 values m and n
where m= # of team and n= # of couples.
now i have to simulate a skater, which has attirbutes coupleid, teamid repressnting which couple and team he belongs to.
my question is how exactly do i do that if i have to adhere to Object oriented design?? i have a skate class written already, with the coupleid and teamid as private data members. but i dunno how to make each skater pick its couple and team
any help would be greatly appreciated