Create a function called ''test'' belonging to a class called ''demo''._::_ () { } | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Create a function called ''test'' belonging to a class called ''demo''._::_ () { }

function or class

17th Jun 2017, 7:49 AM
keerthana unnikrishnan
keerthana unnikrishnan - avatar
7 Answers
+ 13
@OMER 1. printInfo 2. dateOfBirth 3. printDate
17th Jun 2017, 1:00 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 11
demo::test() {}
17th Jun 2017, 7:51 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 1
void People::printInfo() { cout << name << endl; dateOfBirth.printDate(); }
31st Jul 2020, 12:04 PM
swapnal mandlik
swapnal mandlik - avatar
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
17th Jun 2017, 11:47 AM
OMER MOHAMMED KHAREEF AHMED
OMER MOHAMMED KHAREEF AHMED - avatar
0
help my please
17th Jun 2017, 11:48 AM
OMER MOHAMMED KHAREEF AHMED
OMER MOHAMMED KHAREEF AHMED - avatar
0
thanks all for your supports
4th Jun 2020, 2:57 AM
Waled Moumari
Waled Moumari - avatar
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 (); }
17th Sep 2020, 10:16 PM
OjeifoIduma