+1 (208) 254-6996 essayswallet@gmail.com
  

Create program to input vehicle inventory data for vehicles. Each… Create program to input vehicle inventory data for vehicles. Each vehicle record contains the following information:model- C string which must contain up to twenty-four characters, which may include white space. When inputting from the user, this data will be terminated by a new line character.manufacturer- C string which must contain up to fifteen non-white space characterscylinders- integer in the range of 1 through 12engine- floating point value in the range of 0.1 through 20.0cost- floating point in the range of 0.0 through 250,000.00Define a structure to contain this data. The main program will prompt and input the above information from the user, into an array of structures. Information for up to twenty vehicles may be input. (The user will enter quit for model to end data input early.) Define all symbolic constants where necessary, and use these constants fully within your code.Compile and test your program thoroughly. You do not need to do input validation (yet…).Determine which part of your program could potentially be stored in a header file (vehicle.h), rather than your main C++ source code file (vehicle.cpp). Consider which code is executable, which defines data storage, or which code defines something that remains unchanged throughout the execution of the program. Then refactor your code into a separate header, and C++ main source code file. When we make header file, make sure to code the preprocessor directives to implement an include guard.SOLUTIONNEED HELP WITH THIS ONEImage transcription textContinue the above activity as follows:In a new file. vehiclelib.cpp file, createtwo functions (make sure … Show more… Show more  Computer Science Engineering & Technology C++ Programming COMPUTER S 101

Don't use plagiarized sources. Get Your Custom Essay on
Top answer: Create program to input vehicle inventory data for vehicles. Each…
Just from $10/Page
Order Essay

Order your essay today and save 10% with the discount code ESSAYHELP