Crank Software Interview Question

Homework assignment: code an algorithm to draw an antialiased line