0

Classes

You have an existing class Simple() that returns the sum of two numbers using its add(x,y) method.How can you leverage its to build another class that calculate the inverse of the sum of two numbers?

4th Jan 2021, 11:54 AM
Rocky Khatete Tonny
Rocky Khatete Tonny - avatar
21 Answers
+ 5
Tonny Rocky Khatete , please show us your attemp. Also give us a sample of what you call "inverse of a sum". Thanks!
4th Jan 2021, 2:45 PM
Lothar
Lothar - avatar
+ 5
What is "inverse of sum"? Or did you mean subtraction
5th Jan 2021, 10:18 AM
Angry Student(Docvad)
Angry Student(Docvad) - avatar
0
Hi. Have you SoloLearn pro?
5th Jan 2021, 6:46 PM
Ulug'bek
0
As others have pointed out, it's not very clear as to what you want to ask. Did you mean sum of inverse of two numbers??? or 5+7 = 12 and you want to calculate the inverse of sum i.e. 12. please clarify so that we can further assist you. Please give us your code.
5th Jan 2021, 7:56 PM
CHANDAN ROY
CHANDAN ROY - avatar
0
Hii sir program kaise run karaye
6th Jan 2021, 6:59 AM
Krishan Kumar
Krishan Kumar - avatar