Share
Explore BrainMass

C++ program to classify vehicle models

Write a program using enumerators that, when given a model of a vehicle, classifies it by manufacturer (e.g., Ford, Chevy) and by type (e.g., Sedan, SUV), making use of the information given in the following table.

MODEL MANUFACTURER TYPE
----------- -------------------- ----------
Tocama Toyota Pick-up
Ranger Ford Pick-up
Sportage kia suv
hummer gm suv
explorer ford suv
camery toyota sadan
corrolla toyota sadan
accord nissan sadan

Solution Preview

Attached program (vehicle-138632.cpp) makes use of

- enumerators to represent ...

Solution Summary

Attached program makes use of structure and enumerators for representing vehicle information.

$2.19