Will anyone see my error??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1
5th Jul 2020, 4:15 PM
Kajal Kumari
3 Answers
+ 1
Will u send me the code plz which u have done???
5th Jul 2020, 4:43 PM
Kajal Kumari
+ 1
Yes i got my error ,actually i am not calling sum function that's y .....thank u
5th Jul 2020, 4:58 PM
Kajal Kumari
+ 1
I think, You have only one class then, no need or no use of making 'friend statement' . Before calling show function, call sum function in or call sum function in show function before display result...
5th Jul 2020, 4:59 PM
Jayakrishna 🇮🇳