PDA

View Full Version : Does this exercise make sense?



CroCodile
05-04-2013, 10:53 PM
I'm reading a book and I came up across this question
Write a program to draw a circle on a canvas after two left clicks of the mouse. The first click picks the center and the second a point on the circle.

the second should be the radius. Am I right?

Dark Photon
05-05-2013, 11:05 AM
...the second should be the radius. Am I right?
The second should define the radius yes.