title: Draw a circle boundary?
body: <p>In a test for a developer job, I was asked to solve this problem which I had no idea about. Would someone please help me.</p>
  
  <p>Draw a dotted line circle boundary using <code>void draw(int x, int y)</code> to draw one point. Use the formula <em>x<sup>2</sup> + y<sup>2</sup> = r<sup>2</sup></em>. You can use <code>sqrt</code> method, but don't use <code>sin</code>, <code>cos</code> or <code>tan</code> etc.</p>
  
  <pre><code>Void DrawCircle(int centerX, int centerY, int radius) {…}
  </code></pre>
  
  <p>PS: This is not at all a college assignment, so please reply.</p>