I have been given this assignment..pls some one give me the solution
Write a program to define
a class vehicle and a class engine. Let the vehicle class contain Engine. The
engine should be started at source and stopped after reaching destination. Let
the speed and distance be read. The program should throw an exception when
vehicle tries to travel beyond destination. Develop the application in C#.
thanks
...
Go to the complete details ...