#include <iostream>

using namespace std;
class engine
{
public:
int power;
};
class car
{
public:
engine e;
string company;
string color;
void display()
{
cout<<“The power of car is:”<<e.power<<endl;
cout<<“The company of car is:”<<company<<endl;
cout<<“The color of car is:”<<color<<endl;
}
};
int main()
{
car c;
c.e.power=100;
c.company=”Toyota”;
c.color=”black”;
c.display();
return 0;
}