drawing a circle in a console application

I'm trying to draw a circle in a console application using asterisks depending on the radius but i cant get the idea .. can anybody help me out here??
something like this...
****
*******
********
********
*******
****
[260 byte] By [designxperts.net] at [2007-11-19 19:57:22]
# 1 Re: drawing a circle in a console application
sounds like homework to me... you would use a loop, of course, and build each string that you want to display in the loop and output it, generally speaking...
gigemboy at 2007-11-10 3:14:13 >
# 2 Re: drawing a circle in a console application
Yeah, but what i want is that the user enters the radius then depending on that it draws the circle ... i once did a program that draws a diamond ...that is were i looped and displayed the output but here i think it's different cuz if i do the same thing it's not gonna look like a circle??
designxperts.net at 2007-11-10 3:15:13 >
# 3 Re: drawing a circle in a console application
any help guys?
designxperts.net at 2007-11-10 3:16:12 >