+ 1
operator overloading
in https://code.sololearn.com/cX197x2iV64b why it's 12? not 67?
1 ответ
+ 8
because you didn't add the values... you have just returned the value of var..
In place of return var, what you have written as the comments, make those as statements.