nWrite a function that will paint
an arc (part of a circle). The arguments specify the center of the
arc, the radius, the starting and ending angle. Use one degree angle increments. The
coordinates of a point on a circle with the center (xcenter, ycenter), radius r, and
angle a are:
nx = xcenter + radius *
cosdeg(a);
ny = ycenter + radius * sindeg(a);