How to make an application in C# which measures distance between two points? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 1

How to make an application in C# which measures distance between two points?

In C# language to make an application for measuring the distance between two points.

7th Oct 2018, 1:32 AM
Fazal Amin
Fazal Amin - avatar
2 Respuestas
0
using Pythagorean theorem 
7th Oct 2018, 1:40 AM
Fazal Amin
Fazal Amin - avatar
0
using the following formula: Sqrt((x2-x1)^2 + (y2-y1)^2) which is the euclidian distance
7th Oct 2018, 6:47 AM
Xavier Heugue
Xavier Heugue - avatar