Introduction - If you have any usage issues, please Google them yourself
The program implements Bresenham algorithm for drawing a straight line, the four quadrants of the problem through the exchange of endpoint methods combined into one, four-quadrant problems. Re-use of sign variables, unified into a problem. Also taking into account the slope of the " = 1," 1, does not exist, ultimately, the issue was divided into three cases.