+ 1
How can I draw a circle in the Java console?
I created a Geometry class with a whole bunch of shapes, but I need to draw a circle and need a method for doing it help is highly welcome
2 ответов
+ 4
As Bakerman said you should first draw the shape on a paper and guess how to make it.
I will share you a popular code so you can get an idea - ⚠DO NOT COPY.
https://code.sololearn.com/caSK7jnmQz1O/?ref=app
+ 1
To solve many issues of programming you need to imagine the final result and analyze it.
A circle can be drawn the next way
****
*****
*****
****
Then if you can't guess yourself on how to efficiently create it, use this site that I found with a simple Google search:
https://www.c-sharpcorner.com/forums/draw-a-circle-in-c-sharp-console