To draw a circle inside another circle in MSWLogo, you can use the REPEAT command along with the CIRCLE command. First, use the CIRCLE command to draw the outer circle, then adjust the pen position to the center and use the CIRCLE command again with a smaller radius for the inner circle. Here's a simple example:
<code class="language-logo">CIRCLE 100 ; Draw outer circle with radius 100PENUP SETXY 0 -50 ; Move to inner circle position (50 units up) PENDOWN CIRCLE 50 ; Draw inner circle with radius 50
</code>
This will create a smaller circle inside the larger one.
Copyright © 2026 eLLeNow.com All Rights Reserved.