c++ how to initialise params in derived classes
<pre><code>class car
{
    string carID
    string carName
};

class electric : public car
{
    string battery
    string model
};
</code></pre>

<p>base class is <code>car</code>. <code>electric</code> is a derived class that inherits from <code>car</code>. 
What would need to be included in the constructor to initialise them and then set the values when the user inputs a new car with the data for all the attributes?</p>
