class parten_wien {
std::string name;
std::string gender;
public:
void accopt(std::string name, std::string gender) {
this->name = name;
this->gender = gender;
}
void display() {
std::cout << "Name: " << this->name << std::endl;
std::cout << "Gender: " << this->gender << std::endl;
}
};
Comments
Leave a comment