help me with this question please | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

help me with this question please

Fill in the blanks to declare the class Student, with one public function called hello. The hello() function prints "hi from student" to the screen. Student { : void hello() { << "hi from student" << endl; } };

2nd May 2020, 7:54 AM
Ahmed
Ahmed - avatar
3 Answers
+ 2
class Student { public: void hello(){ cout<<"hi from student"<<endl; } };
7th May 2020, 9:22 AM
Kelvin Onwonga Morara Tona
Kelvin Onwonga Morara Tona - avatar
0
Take one step back in the lesson, answer to all lesson quizzes are available right there in the lesson. Check lesson comments too, it helps at times 👍
2nd May 2020, 8:16 AM
Ipang
0
answer please
28th Apr 2021, 12:09 AM
Lucas Hilton