#include <iostream>
#include <string>
using namespace std;
// 基本クラス
class Vehicle {
public:
string brand = "フォード";
void honk() {
cout << "トゥット、トゥット! \n" ;
}
};
// 派生クラス
class Car: public Vehicle {
public:
string model = "マスタング";
};
int main() {
Car myCar;
myCar.honk();
cout << myCar.brand + " " + myCar.model;
return 0;
}