Originally Posted by hari-kj
you have the variables x1, y1, x2, y2, distance, angle which are the type real.
The varaibles x1, y1, distance and angle have got a value by an input procedure. The angle is given in degrees.
You have to write an output procedure and if you want to draw these lines and points must change the data type from real to integer.