Shraddha Bhat

Shraddha Bhat

  • NA
  • 13
  • 12.6k

Can you help me with a few programs.

Apr 25 2013 4:37 AM
1)Write a program to define a class vehicle and a class engine. Let the vehicle class contain engine. The
engine should be started at the source and stopped after reaching the destination .Let the speed and the
distance be read. The program should throw an exception when the vehicle tries to travel beyond
destination.Develop the application in C#.



Answers (1)