/* program to draw a line using DDA algorithm. */
In Digital differential analyzer (DDA) algorithm we first need both the end point of line.
And we can take any one point and start moving towards another point.
Executed and tested in Turbo C 3.2
Written with ♥ from