using System; using System.Runtime.InteropServices; using System.Security.Cryptography.X509Certificates; public class Program { public static double Distance(double x1, double x2, double y1, double y2) { double EDistance = Math.Sqrt((x1 - x2)*(x1 - x2) + (y1 - y2)*(y1 - y2)); double MDistance = Math...