My goal is to design a class named Automobile that holds the vehicle identification number, make, model, and color of an automobile, that includes methods to set the values for each data field, and a method that displays all the values for each field. Also, to write the program that will use this class.
I'm having problems with the display module. I'm getting an error that says "class Automobile declarations type name is not allowed" with the "Automobile" of Automobile.getVIN along with each other display statement underlined.
After making that change I'm now getting errors stating "call of an object of a class type without appropriate operator() or conversion functions to pointer-to-function type"