How to get the distance between two point by using inheritance | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to get the distance between two point by using inheritance

(suppose we have two points in 3D space) dis=sqrt(((x2 - x1)^2 )+((y2 - y1)^2 )+((z2 - z1)^2 )). more details on website: www.cs.uregina.ca/Links/class-info/115/09-inheritance/

1st May 2018, 11:36 AM
Madlen Arab
Madlen Arab - avatar
1 Answer
+ 1
https://code.sololearn.com/cIO3rs0dRh03/?ref=app
1st May 2018, 11:48 PM
Petya soname
Petya soname - avatar