Answer to Question #26935 in AJAX | JavaScript | HTML | PHP for leslie ochieng

Question #26935
a class that represent a point in a Cartesian plain has two data members ,one to store the x axis and another the y axis value
1. write the class
2. add to the class a parametrized constructor that initializes two data members using the two data values passed as argument
3 write a function that receives as two points as arguments and returns the distance between the two points ( you need to know the mathematical formula of the Pythagorean theorem)
0
Expert's answer

Answer in progress...

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS