Calculate The Midpoint of 2 Points on a Coordinate Plane

Category:
C#, VB.NET, ASP.NET
Type:
Applications
Difficulty:
Intermediate
Author:
Anonymous

Version Compatibility: Visual Basic 6

More information:
This is a follow-up to the October 3rd submission that calculates the distance of two points on a plane. This sub procedure takes the coordinates of 4 points, two being x and two of y, and returns the midpoints.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: