How to make an application in C# which measures distance between two points? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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 Respostas
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