Question: Can you please help me with this! It's for C++!! Will give thumbs up! TEST CODE IS BELOW TEST CODE #include #include #include Vehicle.h #include
Can you please help me with this! It's for C++!! Will give thumbs up! TEST CODE IS BELOW




![lla_rno[3] = {39.54, 119.82, 4500.0}; Vehicle v99(99, lla_rno); cout cout cout Vehicle](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f3240b83a36_50666f3240aeffd0.jpg)
TEST CODE
#include
#include
#include "Vehicle.h"
#include "Car.h"
using namespace std;
int main(){
cout
"//////////////////////////// "
"///// Base Tests ///// "
"////////////////////////////"
cout
Vehicle v1;
cout
cout
cout
cout
float lla_rno[3] = {39.54, 119.82, 4500.0};
Vehicle v99(99, lla_rno);
cout
cout
cout
Vehicle v99_cpy( v99 );
cout
cout
cout
v1 = v99_cpy;
cout
cout
cout
float lla_new[3] = {37.77, 122.42, 52.0};
v1.Move( lla_new );
cout
"//////////////////////////// "
"///// Derived Tests ///// "
"////////////////////////////"
cout
Car c1;
cout
cout
cout
cout
char plates_999[] = "Gandalf";
Car c999(plates_999, 999, lla_rno);
cout
cout
cout
Car c999_cpy( c999 );
cout
cout
cout
c1 = c999_cpy;
cout
cout
cout
c1.Move( lla_new );
cout
"//////////////////////////// "
"///// Tests Done ///// "
"////////////////////////////"
return 0;
}
Objectlves: The main objecives of is prot otest your sbility to reate and use inheritance with C++ classes. A review of your knowledge to manipulate classes with multiple constructors, static members/functions, and expand to operator overloading, as well as pointers, structs, arrays, iostream, file /O and C-style strings is also included. Description: For this project you may use square bracket-indexing, pointers, references, all operators, as well as the
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
