What is the required input for the function function distanc

What is the required input for the function function distance = gps (point_a, point_b) distance = point_b - point_a; end

Solution

Answer is:

point_a,point_b

distance wrong, because the function calculates the distance by using point_a and point_b, and returns the calculated distance value..

so, the function needs point_a and point_b as input

 What is the required input for the function function distance = gps (point_a, point_b) distance = point_b - point_a; endSolutionAnswer is: point_a,point_b dist

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site