Hello everyone, I need help on a C++ assignment. (Each function except main should have a function h

Hello everyone, I need help on a C++ assignment. (Each function except main should have a function header similarto this example:) /* ******************** getSize ******************** asks user for size size is saved in calling function via reference parameter */ Problem 2.1 Declare a structure with a type name: Car containing: Note: A destination is required if the car is loaded. If it isnot loaded the destination may be
eithera 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 thestructure output * Print the data in a neat format Put the main function first. Use the function names and field names specified above. Arrange the functions in the order listed above. Test your program with the following data: —————————————————————————————————————————————— Problem 2.2 Repeat problem 2.1 with the following changes: Use class rather than struct with the typename: Car Make the data in the class Car public. Revise the input sothe input function will only read the data from the user,and then it will call an additional function named setUpCar whichwill put the data into the object. (IMPORTANT!) Test with the same data. . . .

"Is this question part of your assignment? We can help"

ORDER NOW