#include <iostream>
using namespace std;
class Basic {
protected:
double height;
double weight;
public:
Basic(){}
virtual void Show() const = 0;
};
class Human : public Basic {
public:
Human();
virtual void Show() const;
};
Human::Human() : Basic(), height(180.0), weight(80.0) {
}
void Human::Show() const {
cout << "身長: " << height << endl;
cout << "体重: " << weight << endl;
}