Description: (1) using Bresenham algorithm for drawing a straight line (2) procedure applies to all kinds of straight lines, including horizontal, vertical lines (3) the use of keyboard input segment of the two endpoint coordinates
File list (Check if you may need any files):