0

What is the problem in line 17?

I want to make a program Where i will create a sum function of two rational number from where the structure is already given at top. So, i am facing problem in line 17. The compiler says operand+ cannot perform. https://code.sololearn.com/c3pe88ifxXb4/?ref=app

20th Nov 2020, 7:09 AM
Samia Haque
Samia Haque - avatar
2 Answers
+ 4
You are trying to perform adition between 2 structures of name "Rational". How do you think it is valid.
20th Nov 2020, 7:38 AM
Arsenic
Arsenic - avatar
+ 1
Thank you🙂
20th Nov 2020, 8:21 AM
Samia Haque
Samia Haque - avatar