trying to create a program to display a circle drawn in "X's".
i'm using an array which stores the "X's" at the elements selected by x- and y-coordinates. the output doesn't look like a circle, though. please help.
Your code would be more readable in code tags. As far as the circle you wish to create, do you already have an idea of where the X's are supposed to be? One simple answer is to have the array filled with ones where X's are supposed to go, and zeros everywhere else. When outputting the array, when any value besides zero is found, an X can be outputted instead of a space. Of course, you'd have to initialize your array based on the value of rad, though.