Overloaded Multiplication operator | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Overloaded Multiplication operator

https://code.sololearn.com/ca24A22a7A18 In this code,does coef mean a value like I have done in the code? the question is: 11.9 Implement an overloaded multiplication operator * to return the dot product of two Point objects (see Problem 10.1 on page 249)

7th May 2021, 4:12 PM
Ramisa Fariha
Ramisa Fariha - avatar
2 Answers
+ 2
It works fine, so I guess coef mean exactly what you have done, and I believe it stands for "coefficient"
7th May 2021, 4:50 PM
Michal Doruch
0
Thank you @Juan
7th May 2021, 5:25 PM
Ramisa Fariha
Ramisa Fariha - avatar