Microsoft interview question

Asked how to code a program that draws a circle given a radius