0
Create a function called ''test'' belonging to a class called ''demo''._::_ () { }
function or class
7 Réponses
+ 13
@OMER
1. printInfo
2. dateOfBirth
3. printDate
+ 11
demo::test() {}
+ 1
void People::printInfo() {
cout << name << endl;
dateOfBirth.printDate();
}
0
Fill in the blanks to define the printInfo() function, which prints ''People's'' name and birthdate, using dateOfBirth's printDate() function.
void Peop::ــــــــــــــــــــــــ(){
cout << name << endl;
ـــــــــــــــــــــــــ . ــــــــــــــــــــــــ();
}
printInfo class const printDate dateOfBirth
0
help my please
0
thanks all for your supports
0
Drag and drop from the options below to define the printInfo() function, which prints ''People's'' name and birthdate, using dateOfBirth's printDate() function.
Answer:
void People:: printInfo () {
cout << name << endl;
dateOfBirth
. printDate
();
}