Question: In C++ lopics Introduction to structures Introduction to classes Structures to classes Object oriented design Use the same format for problem and function headings as
lopics Introduction to structures Introduction to classes Structures to classes Object oriented design Use the same format for problem and function headings as lab 1. Problem 2.1 Declare a structure with a type name: Car containing a string of 5 or less upper case characters an int reportingMark carNumber kind loaded destination could be box, tank, flat, or other a bool a string with a destination or the word NONE Note: A destination is required if the car is loaded. If it is not loaded the destination may be either a destination or the word NONE. Create the following functions: main * Uses new to obtain space for the data structure * Calls the other two functions * Deletes the space obtained using new input * Read all the data from the user *After all the data has been read, put all this data into the structure
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
