The document contains an algorithm for drawing an ellipse using the midpoint algorithm. It initializes the graphics system and gets user input for the major and minor radii. It calculates an initial decision parameter P and plots the first point. It then loops while a condition on the x and y coordinates is met, incrementing x by 1 each iteration. The decision parameter P is updated each iteration based on whether it is greater than or less than 0. Symmetric points are plotted in each quadrant to draw the ellipse. After drawing across the minor axis, it continues the algorithm to draw across the major axis by initializing new parameters and looping while y is not 0, updating the decision parameter P1 and decrementing y each iteration.