0

Please help me to solve this problem i am unable to solve this problem

public integer member variables named "a" and "b", and a public member function named sum() that has no arguments but adds the two member variables together and returns their sum. https://code.sololearn.com/cv8Vc02vMGpB/?ref=app

12th Dec 2020, 4:59 PM
Om Sri
3 odpowiedzi
+ 1
return a + b; Is it?
12th Dec 2020, 5:06 PM
你知道規則,我也是
你知道規則,我也是 - avatar
+ 1
class Pair { public : int a,b; int sum(); }; int Pair::sum() { return a+b; }
12th Dec 2020, 7:50 PM
Jayakrishna 🇮🇳
+ 1
Pąľľąvī Thanks a lot this code woRkiNg . Before i was tried but i was unable to getting . Thankyou thankyou sooo much 🤗
13th Dec 2020, 4:48 AM
Om Sri