I need help with this java script coding. You just have to go to the website pro
ID: 3706953 • Letter: I
Question
I need help with this java script coding.
You just have to go to the website programmingbydoing.com and look for the number 100... as it says on the paper.
Explanation / Answer
//The code for problem satatement 100:
public static double distance( int x1, int y1, int x2, int y2 )
{
var double = Math.sqrt( Math.pow((x1-x2), 2) + Math.pow((y1-y2), 2) );
rwturn double
}
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.