|
-
Apr 16th, 2005, 09:51 AM
#5
Thread Starter
New Member
Re: Taxi fares
I did the following way:
Fare newFare = new Fare();
newFare.Calculate (DateTime rideStart, int[] blocksTraveled) ;
I just wondering how to implement Calculate function? As an abstract, interface or overriding? How would you do it? They asked me to write a working program in C#.
Last edited by kevgueni; Apr 16th, 2005 at 09:57 AM.
Reason: adding some staff
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|