Tuesday, July 14, 2009

C++ programming story problem involving classes?

As an automotive engineer you are going to develop a software package for the trip information console of a car. That information console keeps track of outside temperature (C), average fuel consumption (L/Km) and a trip odometer (Km). In order to keep track of the average fuel consumed it stores the latest 50 values it has computed (suppose that the system reads these values every predefined time period) for the fuel consumption.





Write the class interface for the class Console that properly captures the information presented above. Declare accessor and mutator member functions but keep in mind that the only operation on the trip is to reset it and the average fuel consumption is internally computed. Also include the prototype of a function that computes the average fuel consumption.

C++ programming story problem involving classes?
this would take at least 45 mins to answer ... do a first try and post your work. Then we'll be able to help you.
Reply:That's lot of work, may be you can contact a C++ expert live at website like http://askexpert.info/ .


No comments:

Post a Comment