G
G
glebasya20002015-12-20 02:21:17
Programming
glebasya2000, 2015-12-20 02:21:17

How to draw a circle with asterisks in Java?

You need to draw a circle with stars with a given radius. Not necessarily JAVA, you can use any other language, I understand.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yuriy Ivanov @Yuriy, 2015-12-20
Ivanov

i - iterator from 0 to Pi
r - radius
x:=sin(i)*r;
y:=cos(i)*r;
put a star on x,y and play with the increment.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question